FCKEditor JSP Integration Error: The server didn’t send back a proper XML response

By | April 8, 2009 | 1 Comment
Category: JSP Tags: , , ,

I was having problem to integrate FCKEditor into struts 1.3. I tried to do it as per instruction in the JSP Integration method given on FCKEditor documentation but still I was not able to run it locally. Here is how I installed struts 1.3.

http://localhost/jsptest (Tomcat is running on the top of apache)

FCKEditor file is installed at http://localhost/jsptest/js/fckeditor/…..

Please note that I have put fckeditor under /js directory so I have to change the path in all files listed below from what documentation says. If you have your fckeditor installed in other directory, make necessary changes in the files mentioned below to represent your actual path.

Error Description:

The server didn’t send back a proper XML response


  1. Open fckconfig.js file. Locate “var _FileBrowserLanguage = ‘xxx’;var _QuickUploadLanguage=’xxx’;”. Make sure you put xxx = jsp. This change is needed because I had this value as “php” so apache was delegating the request to php engine and it was throwing error as file not found but if I change it to “jsp”, now apache will delegate the request to Tomcat and it knows from web.xml file how to process this request.
  2. Create a file under WEBROOT/WEB-INF/classes/fckeditor.properties if not exists and put following text
  3. Make sure you have connector defined in web.xml file.
    <!-- Do not wrap this line otherwise Glassfish will fail to load this file -->

About Vishal Monpara

Vishal Monpara is a full stack Solution Developer/Architect with 13 years of experience primarily using Microsoft stack. He is currently working in Retail industry and moving 1's and 0's from geographically dispersed hard disks to geographically dispersed user leveraging geographically dispersed team members.

One thought on “FCKEditor JSP Integration Error: The server didn’t send back a proper XML response

  1. Mohan singh mohan

    when i am using the simple integration it will go correctly with jsp like uploading image, create folder,movie and all.
    But when it is put into the struts environment it gives the error in uploading images like “The server didn’t send back a proper XML response”.

    Any Suggestions are valuable for me..

    Amish Kumar Aman

Leave a Reply

Your email address will not be published. Required fields are marked *