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〉