首先关于FCKeditor基本环境配置请参考文章《Java Web项目中整合FCKeditor》
 http://www.blogjava.net/vjame/archive/2008/09/05/227257.html
 1
 <%
<% @ page contentType="text/html;charset=gb2312"%>
@ page contentType="text/html;charset=gb2312"%>
 2
 <%
<% @ taglib uri="/FCKeditor" prefix="FCK"%>
@ taglib uri="/FCKeditor" prefix="FCK"%>
 3 <html>
<html>
 4 <head>
    <head>
 5 <title>add</title>
        <title>add</title>
 6 </head>
    </head>
 7 <body>
    <body>
 8 <form name="form1" action='insert.jsp' method="post">
        <form name="form1" action='insert.jsp' method="post">
 9 Title: <input name="title" size="20"><br>
        Title: <input name="title" size="20"><br>
10 Author: <input name="author" size="20"><br>
        Author: <input name="author" size="20"><br>
11 Content:
        Content:
12 <FCK:editor id="content" width="80%" height="320"
            <FCK:editor id="content" width="80%" height="320"
13 fontNames="宋体;黑体;隶书;楷体_GB2312;Arial;Comic Sans MS;Courier
                fontNames="宋体;黑体;隶书;楷体_GB2312;Arial;Comic Sans MS;Courier 
14 New;Tahoma;Times New Roman;Verdana"
New;Tahoma;Times New Roman;Verdana"
15 imageBrowserURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/browser/default/browser.html?
                imageBrowserURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/browser/default/browser.html?
16 Type=Image&Connector=connectors/jsp/connector"
Type=Image&Connector=connectors/jsp/connector"
17 linkBrowserURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/browser/default/browser.html?
                linkBrowserURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/browser/default/browser.html?
18 Connector=connectors/jsp/connector"
Connector=connectors/jsp/connector"
19 flashBrowserURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/browser/default/browser.html?
                flashBrowserURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/browser/default/browser.html?
20 Type=Flash&Connector=connectors/jsp/connector"
Type=Flash&Connector=connectors/jsp/connector"
21 imageUploadURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Image"
                imageUploadURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Image"
22 linkUploadURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File"
                linkUploadURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File"
23 flashUploadURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Flash">
                flashUploadURL="/FCKeditor-2.3/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Flash">
24 </FCK:editor>
            </FCK:editor>
25
26 <input type="submit" name="SubM" value="发表" />
            <input type="submit" name="SubM" value="发表" />
27 </form>
        </form>
28 </body>
    </body>
29 </html>
</html>
30
 
Mysql数据库表设计:
/*Column Information For - test.fck*/
-------------------------------------
Field    Type         Collation        Null    Key     Default  Extra   Privileges                       Comment
-------  -----------  ---------------  ------  ------  -------  ------  -------------------------------  -------
name     varchar(50)  utf8_general_ci  YES             (NULL)           select,insert,update,references         
content  text         utf8_general_ci  YES             (NULL)           select,insert,update,references         
author   varchar(20)  utf8_general_ci  YES             (NULL)           select,insert,update,references         
/*Index Information For - test.fck*/
------------------------------------
Table   Non_unique  Key_name  Seq_in_index  Column_name  Collation  Cardinality  Sub_part  Packed  Null    Index_type  Comment
------  ----------  --------  ------------  -----------  ---------  -----------  --------  ------  ------  ----------  -------
/*DDL Information For - test.fck*/
----------------------------------
Table   Create Table                          
------  --------------------------------------
fck     CREATE TABLE `fck` (                  
          `name` varchar(50) default NULL,    
          `content` text,                     
          `author` varchar(20) default NULL   
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8  
源代码下载:
http://www.blogjava.net/Files/vjame/FCKeditor-2.3.rar  直接导入到eclipse部署,然后服务器中运行