I am trying to integrate FCKeditor into a Struts Web Application. I followed the steps in the Java integration page http://wiki.fckeditor.net/Developer's_Guide/Integration/Java. I have now up a Java Web application called FCKeditor (as described) where i can test the samples. The filemanager is working well as well. So i decided to create a sample Struts application called TestStruts and integrate FCKeditor in it.
I am using the sample02.jsp file to test it. I am using the same code i have in the previously working FCKeditor application. I just modified the call to the taglib. Exactly i substituted FCKeditor for TestStruts as shown below.
<FCK:editor id="EditorDefault" basePath="/TestStruts/" imageBrowserURL="/TestStruts/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector" linkBrowserURL="/TestStruts/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector" flashBrowserURL="/TestStruts/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector" imageUploadURL="/TestStruts/editor/filemanager/upload/simpleuploader?Type=Image" linkUploadURL="/TestStruts/editor/filemanager/upload/simpleuploader?Type=File" flashUploadURL="/TestStruts/editor/filemanager/upload/simpleuploader?Type=Flash"> This is some <strong>sample text</strong>. You are using <a href="http://www.fredck.com/fckeditor/">FCKeditor</a>.</FCK:editor>
Error: no element found Source File: http://localhost:8080/TestStruts/editor/filemanager/browser/default/connectors/jsp/connector?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F Line: 1, Column: 1 Source Code:
I do have a /TestStruts/UserFiles folder with 777 permisions. I am using the web.xml code mentioned in File Browser Connector Configuration and Quick Uploader Configuration
I have searched through the forums and google a lot but i do not find any solution. Am i missing something?. Is there a variable set to FCKeditor anywhere that i have to change to TestStruts. Thank you in advanced for you help.