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>