Add the following two MimeType settings to "$JEUS_HOME/config/'hostname'/'hostname'_servlet_engine1/webcommon.xml" if they do not already exist.
<mime-mapping> <extension>css</extension> <mime-type>text/css</mime-type> </mime-mapping> <mime-mapping> <extension>xml</extension> <mime-type>text/xml</mime-type> </mime-mapping>
Add the following two MimeType settings to the "$JEUS_HOME/config/'hostname'/'hostname'_ws_engine1/WSMain.xml" file if they do not already exist.
<ext> <name>css</name> <mimetype>text/css</mimetype> <svr-type>HTML</svr-type> </ext> <ext> <name>xml</name> <mimetype>application/xml</mimetype> <svr-type>HTML</svr-type> </ext>
Add the following two MimeType settings to the "webtob/config/http.m" file if they do not already exist.
*EXT css MimeType = "text/css", SVRTYPE = HTML xml MimeType = "application/xml", SVRTYPE = HTML
If you are using servlets, the cos.jar file will be included in the [CrossEditor Installation Folder]/websource/servlet/lib/ folder.
If cos.jar is not in "$WebApplication_Root/WEB-INF/lib/", you can download it at http://servlets.com/cos/.
If you add cos.jar to the path above and the file does not upload or there is a system error, add the cos.jar file to "JEUS_HOME/lib/system/".
After completing the steps above, restart Jeus.
Add the following two MimeType settings to the "$WebApplication_Root/WEB-INF/web.xml" file if they do not already exist.
<mime-mapping> <extension>css</extension> <mime-type>text/css</mime-type> </mime-mapping> <mime-mapping> <extension>xml</extension> <mime-type>text/xml</mime-type> </mime-mapping>
If commons-fileupload.jar or commons-io.jar cannot be found at "$WebApplication_Root/WEB-INF/lib/", you can download them at one of the following sites.
commons-fileupload.jar : http://commons.apache.org/fileupload/download_fileupload.cgi
commons-io.jar : http://commons.apache.org/io/download_io.cgi
After completing the steps above, restart WebLogic.
Add the following two MimeType settings in the WebSphere administrator page if they do not already exist.
extension : css mime-type : text/css
extension : xml mime-type : text/xml
If commons-fileupload.jar or commons-io.jar cannot be found at "$WebApplication_Root/WEB-INF/lib/", you can download them at one of the following sites.
commons-fileupload.jar : http://commons.apache.org/fileupload/download_fileupload.cgi
commons-io.jar : http://commons.apache.org/io/download_io.cgi
After completing the steps above, restart WebSphere.
Add the following two MimeType settings to the "$WebServer Installation Folder/https-xxx/config/mime.conf" file if they do not already exist.
type=text/css exts=css type=text/xml exts=xml
If commons-fileupload.jar or commons-io.jar cannot be found at "$WebApplication_Root/WEB-INF/lib/", you can download them at one of the following sites.
commons-fileupload.jar : http://commons.apache.org/fileupload/download_fileupload.cgi
commons-io.jar : http://commons.apache.org/io/download_io.cgi
After completing the steps above, restart iPlanet.
Struts has its own image upload feature, and the Struts filter does multi-part parsing which causes an error in the editor's upload feature.
Open Struts' web.xml and find the following part:
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Set the above url-pattern to only a pattern that is actually used like "*.action" so that it does not effect CrossEditor's image upload.