JSP的那些事儿(10)----FCKeditor使用集锦
来源:互联网 发布:windows wmi 监控进程 编辑:程序博客网 时间:2024/05/01 09:02
一、FCKeditor简介
FCKeditor是一个专门使用在网页上属于开放源代码的所见即所得文字编辑器。它志于轻量化,不需要太复杂的安装步骤即可使用。它可和PHP、JavaScript、ASP、ASP.NET、ColdFusion、Java、以及ABAP等不同的编程语言相结合。“FCKeditor”名称中的“FCK” 是这个编辑器的作者的名字Frederico Caldeira Knabben的缩写。
FCKeditor 相容于绝大部分的网页浏览器,像是 : Internet Explorer 5.5+ (Windows)、Mozilla Firefox 1.0+、Mozilla 1.3+ 和 Netscape 7+。在未来的版本也将会加入对 Opera 的支援。
二、下载
1、官方下载首页:http://www.fckeditor.net/download/
2、需要下载FCKeditor 2.6.4:http://nchc.dl.sourceforge.net/project/fckeditor/FCKeditor/2.6.4.1/FCKeditor_2.6.4.1.zip
和FCKeditor.Java:http://nchc.dl.sourceforge.net/project/fckeditor/FCKeditor.Java/2.3/FCKeditor-2.3.zip
三、部署配置
1、FCKeditor 2.6.4解压,将fckeditor文件夹复制到/WebRoot/下
2、FCKeditor-2.3.zip解压,将commons-fileupload.jar和FCKeditor-2.3.jar复制到/WebRoot/WEB-INF/lib/下
3、修改/WebRoot/WEB-INF/web.xml文件,增加以下内容:
四、测试页面
0、新建一个测试页面test.jsp
1、先添加css和js代码:具体路径根据你的页面和相关文件的相对位置
2、添加如下代码:
3、浏览即可看到如下页面(本文只有关键代码):
- JSP的那些事儿(10)----FCKeditor使用集锦
- Servlet&JSP的那些事儿(一)
- Servlet&JSP的那些事儿(二)
- Servlet&JSP的那些事儿(三)
- Servlet&JSP的那些事儿(四)
- Servlet&JSP的那些事儿(五)
- Servlet&JSP的那些事儿(六)
- Servlet&JSP的那些事儿(七)
- Servlet&JSP的那些事儿(八)
- Servlet&JSP的那些事儿(九)
- Servlet&JSP的那些事儿(十)
- Servlet&JSP的那些事儿(十一)
- Servlet&JSP的那些事儿(十二)
- Servlet&JSP的那些事儿(十三)
- Servlet&JSP的那些事儿(十四)
- Servlet&JSP的那些事儿(十五)
- Servlet&JSP的那些事儿(十六)
- Servlet&JSP的那些事儿(十七)
- Delphi DBExpress控制mysql事务
- 清除表单FILE的值
- August 10th Monday
- 常用的CLSID
- 打造超过10万人的软件开发外包平台-邀您共谋发展
- JSP的那些事儿(10)----FCKeditor使用集锦
- 配置JBoss4服务自动启动
- Linux下基于bluez与obex的服务
- strtok函数介绍
- Linux USB 鼠标驱动程序详解
- 自动刷新页面
- 更换Blog,更换心情,更换一种生活方式
- 中移动MM火热征集应用商品 12日前享受绿色通道
- 我写的博客客户端-BlogWriter