LittleRain

小雨不打伞 打伞雨不小

JSP下FCKeditor的配置

1. 上传文件需要的设置

a)找到web.xml文件的
<servlet-name>SimpleUploader</servlet-name>
<init-param>
   <param-name>enabled</param-name>
   <param-value>false</param-value>//把这里设置为true
  </init-param>

b)
〈FCK:editor id="infoContent" basePath="/FCK/FCKeditor/"
              width="522"
              height="300"
              skinPath="/FCK/FCKeditor/editor/skins/silver/"
              defaultLanguage="zh-cn"
              tabSpaces="8"(需要在fckconfig.js终设置FCKConfig.TabSpaces  = 1 ;开启Tab键功能)
              imageBrowserURL="/FCK/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
              linkBrowserURL="/FCK/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"
              flashBrowserURL="/FCK/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"
              imageUploadURL="/FCK/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Image"
              linkUploadURL="/FCK/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File"
              flashUploadURL="/FCK/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Flash"〉
              请输入内容
  〈/FCK:editor〉

posted on 2006-11-12 22:46 小雨不打伞 阅读(950) 评论(0)  编辑  收藏 所属分类: web学习心得


只有注册用户登录后才能发表评论。


网站导航:
 

公告

点击这里给我发消息 QQ:232720563


  MSN:new_haihua@hotmail.com

导航

统计

常用链接

留言簿(2)

随笔分类(51)

最新随笔

积分与排名

最新评论

阅读排行榜