FCKeditor is an open-source project on sourceforge.net. It mainly implements the online web editor function and enables web programs to have powerful editing functions such as MS Word. Official Website for http://www.fckeditor.net, server support ASP. Net, ASP, ClodFusion, PHP, Java and other languages, and support IE 5 +, Mozilla, Netscape and other mainstream browsers.
Download fckeditor from the official website. Note that there are two packages: The main file and the jsp integration package.
1. Decompress fckeditor_2.2.zip (main file of FCKeditor) and copy the FCKeditor directory to the root directory of the website,
2. Decompress fckeditor-2.3.zip, (jsp, FCKeditor Integration package), role: This is the JSP Integration Pack for using FCKeditor inside a java server page without the complexity of using a Java scriptlets or the javascript api.
3. Copy the servlet-mapping definition in the FCKeditor-2.3/web/WEB-INF/web. xml to the web. xml file of your project.
Modify the following content:
<Servlet-mapping> <servlet-name> Connector </servlet-name> <url-pattern>/editor/filemanager/browser/default/connectors/jsp/connector </url- pattern> </servlet-mapping> <servlet-name> SimpleUploader </servlet-name> <url-pattern>/editor/filemanager/upload/simpleuploader </ url-pattern> </servlet-mapping>
Modification result:
<Servlet-mapping> <servlet-name> Connector </servlet-name> <url-pattern>/FCKeditor/editor/filemanager/browser/default/connectors/jsp/connector ctor </ url-pattern> </servlet-mapping> <servlet-name> SimpleUploader </servlet-name> <url-pattern>/FCKeditor/editor/filemanager/upload /simpleuploader </url-pattern> </servlet-mapping>
- Three pages in total:
- Previous Page
- 1
- 2
- 3
- Next Page