Application of fck editor in Java

Source: Internet
Author: User

Fck editor 2.6 and fck Editor-Java 2.4

Note that editor-Java 2.4 is significantly modified compared with 2.3.

If the net... class cannot be found, note that the-Java library may not be added. The 2.3 library starts with COM.

 

Org/slf4j/impl/staticloggerbinder not found
Download demo. War, decompress the SLF-simple jar and load it to the project.

 

In addition, the basic settings are relatively simple.

1. Put FCKeditor in the root directory.

2. Note that there must be a resource file named FCKeditor. properties under the classes directory. write such a line in the file connector. useractionimpl = net. FCKeditor. requestcycle. impl. useractionimpl

3. The web. xml settings can be similar to the following:

<! -- FCKeditor 2.6.4 with FCKeditor. Java 2.4.1 -->
<Servlet>
<Servlet-Name> connector </servlet-Name>
<Servlet-class> net. FCKeditor. connector. connectorservlet </servlet-class>
<Init-param>
<Param-Name> basedir </param-Name>
<Param-value>/userfiles/</param-value>
</Init-param>
<Init-param>
<Param-Name> debug </param-Name>
<Param-value> true </param-value>
</Init-param>
<Load-on-startup> 1 </load-on-startup>
</Servlet>

<Servlet-mapping>
<Servlet-Name> connector </servlet-Name>
<URL-pattern>/FCKeditor/Editor/filemanager/connectors/* </url-pattern>
</Servlet-mapping>


<! -- End FCKeditor -->

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.