simo wrote:Dear Arijit, the problem with h819 was that he had a wrong config in the connector definition in the web.xml file. It was not matching the folder that FCKeditor was looking for the connector... This is the most common problem with 404 error with the connector...
I may try to develop a JSP version of the connector, so that not complex changes of the web.xml is needed.
Simone
I think I have the EXACT same problem. There simply is no /editor/filemanager/browser/default/connectors/jsp/connector folder, so the settings from the wiki manual ( http://wiki.fckeditor.net/Developer's_G ... ation/Java ) do not resolve to a valid folder.
This is the start of the message I get when trying to browse images ('myapp' is the Tomcat context where i have placed the fckeditor):
XML request error: /myapp/fckeditor/editor/filemanager/browser/default/connectors/jsp/connector (404)
Requested URL:
http://localhost:8080/myapp/fckeditor/editor/filemanager/browser/default/connectors/jsp/connector?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F
roffe wrote:I think I have the EXACT same problem. There simply is no /editor/filemanager/browser/default/connectors/jsp/connector folder, so the settings from the wiki manual ( http://wiki.fckeditor.net/Developer's_G ... ation/Java ) do not resolve to a valid folder.
I don't know why exactly, but some servers need a wildcard in the url-padding. I'm using the FCKeditor in a pure servlet environment and changed my servlet mapping looks like that:
Here is a way to resolve 'file not found' (error 404) by configuring Java Integration using the same pattern as the other host languages (for example, php).
1) After you have downloaded and extracted the FCKeditor release of your choice (under the web folder), create a folder called jsp under \editor\filemanager\connectors (you will notice that folders already exist for the other languages like php, asp, aspx and so on).
2) In the jsp folder created in step 1, create two .jsp files:
connector.jsp
<jsp:forward page="/Connector" />
upload.jsp
<jsp:forward page="/Upload" />
2) Modify the servlet mappings in the web.xml file. The web.xml file should be identical to the one described in the Developer's Guide for Java Integration. http://wiki.fckeditor.net/Developer%27s_Guide/Integration/Java, except for the <servlet-mapping>, which is shown here:
roffe wrote:I am currently trying to integrate the Image Browser with our system. It uses a Tomcat server and is totally servlet based, NOT using jsp. We are using a custom HTML template system. How do I integrate the Image Browser without using jsp?
Hi, After downloading latest FCKEditor-java integration pack, I could not find any dir named 'Connector/jsp' inside '/fileManager/browser' folder. But Yeah,'Connectors' dir existed,that two as '/fileManager/Connectors'. Moreover it had no jsp folder folder inside it. I wanna use fckeditor functionality in java only and no jsp. Is there a way to do so?
Re: Ask help about integration with Java
Re: RE: Ask help about integration with Java
I think I have the EXACT same problem. There simply is no /editor/filemanager/browser/default/connectors/jsp/connector folder, so the settings from the wiki manual ( http://wiki.fckeditor.net/Developer's_G ... ation/Java ) do not resolve to a valid folder.
This is the start of the message I get when trying to browse images ('myapp' is the Tomcat context where i have placed the fckeditor):
Re: Ask help about integration with Java
I don't know why exactly, but some servers need a wildcard in the url-padding. I'm using the FCKeditor in a pure servlet environment and changed my servlet mapping looks like that:
Depending on your setup you should bear the upper and lower case in mind!
Hope that meets your needs!
Thilo
Configuration of Java Integration
Here is a way to resolve 'file not found' (error 404) by configuring Java Integration using the same pattern as the other host languages (for example, php).
This has been tested with FCKeditor 2.5.
Follow these steps in conjunction with the Developer's Guide for Java Integration. http://wiki.fckeditor.net/Developer%27s_Guide/Integration/Java
1) After you have downloaded and extracted the FCKeditor release of your choice (under the web folder), create a folder called jsp under \editor\filemanager\connectors (you will notice that folders already exist for the other languages like php, asp, aspx and so on).
2) In the jsp folder created in step 1, create two .jsp files:
connector.jsp
upload.jsp
2) Modify the servlet mappings in the web.xml file. The web.xml file should be identical to the one described in the Developer's Guide for Java Integration. http://wiki.fckeditor.net/Developer%27s_Guide/Integration/Java, except for the <servlet-mapping>, which is shown here:
web .xml
3) Modify the fckconfig.js file. Do not make the other changes to the fckconfig.js file as described in the Developer's Guide for Java Integration. http://wiki.fckeditor.net/Developer%27s_Guide/Integration/Java
fckconfig.js
Hope this helps
Re: Ask help about integration with Java
you can use tomcat5.5
Re: Ask help about integration with Java
After downloading latest FCKEditor-java integration pack, I could not find any dir named 'Connector/jsp' inside '/fileManager/browser' folder.
But Yeah,'Connectors' dir existed,that two as '/fileManager/Connectors'.
Moreover it had no jsp folder folder inside it.
I wanna use fckeditor functionality in java only and no jsp. Is there a way to do so?