1.需要引入的tld文件<%@ taglib uri="/tlds/FCKeditor.tld" prefix="FCK" %>
2.
<tr> <td>正文:</td> <td align="left"> <FCK:editor id="strContent" width="100%" height="320" enableSourceXHTML="true" editorAreaCSS="true" fontNames="Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana"> ${strContent} </FCK:editor> </td> </tr>
web.xml
<servlet>
<servlet-name>Connector</servlet-name>
<servlet-class>com.fredck.FCKeditor.connector.ConnectorServlet</servlet-class>
<init-param>
<param-name>baseDir</param-name>
<param-value>C:/appdata/wasdata/</param-value>
</init-param>
<init-param>
<param-name>baseUrl</param-name>
<param-value>http://10.196.139.16/GZUnionCms/file/appdata/</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>
<servlet-name>SimpleUploader</servlet-name>
<servlet-class>com.fredck.FCKeditor.uploader.SimpleUploaderServlet</servlet-class>
<init-param>
<param-name>baseDir</param-name>
<param-value>C:/appdata/wasdata/</param-value>
</init-param>
<init-param>
<param-name>baseUrl</param-name>
<param-value>http://10.196.139.16/GZUnionCms/file/appdata/</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>enabled</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>AllowedExtensionsFile</param-name>
<param-value />
</init-param>
<init-param>
<param-name>DeniedExtensionsFile</param-name>
<param-value>php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi</param-value>
</init-param>
<init-param>
<param-name>AllowedExtensionsImage</param-name>
<param-value>jpg|gif|jpeg|png|bmp</param-value>
</init-param>
<init-param>
<param-name>DeniedExtensionsImage</param-name>
<param-value />
</init-param>
<init-param>
<param-name>AllowedExtensionsFlash</param-name>
<param-value>swf|fla|mpg|asf|wma|wmv|avi|mov|mp3|rmvb|mid</param-value>
</init-param>
<init-param>
<param-name>DeniedExtensionsFlash</param-name>
<param-value />
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>