1.将fckeditor文件夹拷贝到WebRoot下
2.在 src目录下新建fckeditor.properties
内容为:connector.userActionImpl=net.fckeditor.requestcycle.impl.UserActionImpl
3.在web.xml中配置fckeditor
4.将
slf4j-simple-1.5.8.jar
slf4j-api-1.5.8.jar
java-core-2.6.jar
imageinfo-1.9.jar
fckeditor-java-core-2.6.jar
commons-io-1.3.2.jar
commons-fileupload-1.2.1.jar
拷贝到WEB-INF/lib目录下
5.新建一个jsp页面
加入
可用<%=request.getParameter("value")%> 调用
2.在 src目录下新建fckeditor.properties
内容为:connector.userActionImpl=net.fckeditor.requestcycle.impl.UserActionImpl
3.在web.xml中配置fckeditor
<servlet>
<servlet-name>Connector</servlet-name>
<servlet-class>
net.fckeditor.connector.ConnectorServlet
</servlet-class>
<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>
4.将
slf4j-simple-1.5.8.jar
slf4j-api-1.5.8.jar
java-core-2.6.jar
imageinfo-1.9.jar
fckeditor-java-core-2.6.jar
commons-io-1.3.2.jar
commons-fileupload-1.2.1.jar
拷贝到WEB-INF/lib目录下
5.新建一个jsp页面
加入
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>
<form action="aa.jsp" method="post">
<FCK:editor instanceName="test" height="350pt">
<jsp:attribute name="value">
</jsp:attribute>
</FCK:editor>
可用<%=request.getParameter("value")%> 调用