jsf 利用 fckeditor进行内容编辑和文件上传
?
一、fckeditor 基本解决中文乱码和可运行的更改程序可参考fangbiao23.iteye.com/admin/show/130831
二、fckeditor在jsf中使用的一些相关设置和修改
web.xml
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>/EpFbUserFiles/</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</