源:http://blog.csdn.net/flamezyg/article/details/6786772
评:
下载地址:http://ckeditor.com/download
下载了热部署包后,运行例子就可以了。。依葫芦画瓢大家总会吧、
将起web.xml,fckeditor.properties,fckeditor文件夹以及sample.css搬过去即可。。
然后再参考其中一个例子JSP。
FCKEditor是一个比较成熟的网页文本编辑器。根据官网提供的文档和demo很快就可以在自己的web服务中配置成功。但是由于集成在 struts2框架里,在上传图片时出现了问题,报错信息如下:
javax.servlet.ServletException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
解决方案是,将web.xml中关于struts的filter-mapping设置为*.action,如果jsp中也使用到struts2的标签,则还要加上*.jsp。
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
相关推荐
fckeditor2.6JAR,fckeditor2.6所需的jar
FCKeditor2.6.4.1 在线编辑器 JSP 还有JSP上传文件组件
配置好的fckeditor2.6 lite3,请看bbs文件,直接可以使用
FCKeditor 2.6 浏览服务器 图片预览 FCKeditor 2.6 浏览服务器 图片预览 FCKeditor 2.6 浏览服务器 图片预览 FCKeditor 2.6 浏览服务器 图片预览 FCKeditor 2.6 浏览服务器 图片预览
FCKeditor2.6 上传图片报错解决方案 用FCKeditor上传图片时出现XML request error:OK(200)错误。终结解决方案。 替换fckeditor\editor\filemanager\browser\default\js下面的fckxml.js
FCKEditor2.6使用小示例FCKEditor2.6使用小示例FCKEditor2.6使用小示例FCKEditor2.6使用小示例
Struts2与FCKeditor的整合.doc
前段时间遇到fck最新版在asp中使用问题,现将配置过文件上传,由于时间仓促,做了简单精简,内附说明文件
本项目是根据itcast 和网上找的一些资料,自己写出来的一个fckeditor 项目,希望对大家有用,内含我所用到的所有文件,包括 FCKeditor_2.6.6.tar.gz 、fckeditor-java-2.4-bin.zip、fckeditor-java-2.4-src.zip、slf...
jsp 程序调用fckeditor2.6 版本的 小例子 本人发现fckeditor2.6加 fckeditor for 2.3 的时候在上传中文文件的时候会出现乱码 所以本人就小改了一下 fckeditor2.3的源代码,以时间重命名上传文件名,没什么技术...
NULL 博文链接:https://liubin2010.iteye.com/blog/1095687
FCKeditor_2.6.4.1.tar.gz,最好的html在线编辑工具,同时可以进行文件上传,适合php,asp,java
该版本基于 FCKeditor 2.6 修改,旨在提高加载速度,删除不常用的功能,达到精简和优化的目的。 本次修改是基于源代码精简和优化再重新编译,保证功能正常的情况下,确保不残留任何垃圾、无用的代码。通过修改内容...
该版本基于 FCKeditor 2.6 修改,旨在提高加载速度,删除不常用的功能,达到精简和优化的目的。 本次修改是基于源代码精简和优化再重新编译,保证功能正常的情况下,确保不残留任何垃圾、无用的代码。通过修改内容...
fckeditor2.6_zengli.chm
FCKEDITOR 2.6 配置手册 不错的资料,推荐给大家。。。。。。。。。。。。
fckEditor2.6美化实用版 修正了一些错误!共享给网友
最新的fckeditor 2.6jsp版,完整安装包,解压后直接放在网站根目录下就能用了,各项已经配置好了。绝对OK
FCKeditor v2.6 精简版第三版
FCKEditor2.6使用小示例完全示例