Hi everybody,
I am trying to integrate FCKeditor using the JSP Integration Pack.
I followed step by step the installation instructions on the wiki (http://wiki.fckeditor.net/Developer%27s ... ation/Java), but I get the following error while trying to use the file browser : "the requested URL /editor/filemanager/browser/default/connectors/jsp/connector was not found on this server".
Indeed, I can't find any 'jsp' directory in the 'editor/filemanager/browser/default/connectors' directory, neither in the last version of the editor (http://sourceforge.net/project/showfile ... e_id=75845), nor in the latest version of the JSP Integration Pack (http://sourceforge.net/project/showfile ... _id=129511).
Did I miss something ?
Thanks in advance for your help.
Thu, 06/14/2007 - 02:56
#1
RE: Java integration : where is the connector
I didn't recieve any response to my question, so I guess it wasn't precise enougth...
So, please, can somebody answer this one :
where can I find the JSP connector ???
I would be very gratefull to anybody answering me !
RE: Java integration : where is the connector
the JSP Connector is a Java-Class and not like the other connectors reachable in the normal directory! You can find it in the FCKeditor-2.3jar com.fredck.FCKeditor.connector.ConnectorServlet
When your URL is not reachable i guess you forgot to do the changes to your web.xml???
<servlet>
<servlet-name>Connector</servlet-name>
<servlet-class>com.fredck.FCKeditor.connector.ConnectorServlet</servlet-class>
<init-param>
<param-name>baseDir</param-name>
<param-value>/WEB-INF/resources/UserFiles/</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Connector</servlet-name>
<url-pattern>/editor/filemanager/browser/default/connectors/jsp/connector</url-pattern>
</servlet-mapping>
The URL pattern in the servlet-mapping must point to the existing directory:
/editor/filemanager/browser/default/connectors/
While your webapp than connects the full URL when called to your servlet (java.class)!
If it can't find that connector you should test, if the path is right, the jar-file is there, or something like that! And im sure you restarted your webapp after entering all the changes to the important files and copying the both jars to your libs, right?
Hope that helps,
regards, Marcus