fckeditor的配置
1)copy 包fckeditor 和文件jquery.FCKEditor.js
2)引入1)中的两个js文件,同时记得引入jquery的js。
3)加入textarea标签
4)加入js代码<servlet><servlet-name>ConnectorServlet</servlet-name><servlet-class>net.fckeditor.connector.ConnectorServlet</servlet-class><load-on-startup>1</load-on-startup></servlet><servlet-mapping><servlet-name>ConnectorServlet</servlet-name><!-- Do not wrap this line otherwise Glassfish will fail to load this file --><!-- <url-pattern>/*/fckeditor/editor/filemanager/connectors/*</url-pattern> --><url-pattern>/*/fckeditor/editor/filemanager/connectors/*</url-pattern> </servlet-mapping>