It took me one afternoon to make a try. I first searched the website. I don't know what to do, but I searched a lot, I clicked all the links on the first three or four pages and read them again. The above is not a general mess and I cannot understand it. This is a configuration like this, and that is a configuration like that, the header is too big. In addition, most of the above are reproduced, and they are not self-written, messy, and have everything. Most of the articles are on the fckeditor2.3 configuration method. Now the new version FCKeditor 2.6.8 has been released for a long time. It was configured once last year, but today it took a lot of effort to complete it. The configuration process is as follows:
1. Go to the official website to download FCKeditor 2.6.8: http://sourceforge.net/projects/fckeditor/files/FCKeditor.Java/
2. After opening the above page, you need to download two files. The first one is to click the first line to see the blue font. Then, download the file and decompress the file and copy it to the FCKeditor in the webcontent directory.
In addition, click 2.6 to enter the download package or source code download page, I think the download fckeditor-java-demo-2.6.war is better, such:
3. put the downloaded fckeditor-java-demo-2.6.war In the Tomcat webapps directory, start the Tomcat service, this package automatically decompress the release, then copy the jar package under the WEB-INF/lib directory to your project,
4. After doing this, I did a test and added the code to a newly created JSP file in the project.
The Code is as follows:
<% @ Page contenttype = "text/html; charset = UTF-8 "pageencoding =" UTF-8 "%> <% @ taglib uri =" http://java.fckeditor.net "prefix =" fck "%> <HTML>
Note: you must add the <% @ taglib uri = "http://java.fckeditor.net" prefix = "fck" %> label library as an introduction to the page where you want to add the editor
Add the following code to the part where you want to add a clip:
<Fck: Editor InstanceName = "test" Height = "400pt"> </fck: Editor>
The test results are as follows: