Opened 18 years ago
Closed 17 years ago
#104 closed Bug (fixed)
Issues with Connector Servlet in Tomcat5.5
Reported by: | packs808 | Owned by: | Michael Osipov |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor.Java 2.4 |
Component: | Server : Java | Version: | FCKeditor 2.4 |
Keywords: | Servlet | Cc: |
Description
For some reason I had problems with the Servlet mapping with the Connector and SimpleUploader Servlets.
The long mapings, e.g: <servlet-mapping> <servlet-name>Connector</servlet-name> <url-pattern>/fck/editor/filemanager/browser/default/connectors/jsp/connector</url-pattern> </servlet-mapping>
Didn't seem to work. The server returned a 404 when trying to access it.
I had to replace it with: <url-pattern>/servlet/connector</url-pattern> and now I could access the Servlet OK.
And then in the fckconfig.js, change the following line: FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=/servlet/connector" ;
It seems the relative paths didn't work in my Tomcat setup. I'm using FCK2.4, Tomcat/5.5.20 and Java 1.5.0_07-b03.
Note I'm not using any JSP pages - only Javascript to write the editor code.
Not sure if this is a bug or something I was doing wrong but it now works. I imagine it may be related to Tomcat and those long paths.
Change History (3)
comment:1 Changed 17 years ago by
Owner: | alka13 deleted |
---|
comment:2 Changed 17 years ago by
Owner: | set to Michael Osipov |
---|
comment:3 Changed 17 years ago by
Milestone: | → FCKeditor.Java 2.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Servlet mapping in branch 2.4 with FCKeditor 2.5.1 works as expected for the examples with the default fckconig.js.
Sample WAR file will be available soon. Fixed in SVN.
I will investigate that!