日期:2014-05-16  浏览次数:20793 次

jsp中fckeditor 图片上传本地ok,但是正式服务器不行,一直显示滚动条
jsp中fckeditor 图片上传本地ok,但是正式服务器不行,一直显示滚动条

------解决方案--------------------
可能服务器有些服务或功能没开吧。
------解决方案--------------------
楼主,你是本机上传正常,正式服务器,通过域名就一直不能上传文件吗???以前我也遇到过这种情况。
------解决方案--------------------
我遇到的问题,是在apache整合tomcat时,解决方法是:fck的一些东西要交给tomcat处理,如:
JkMount /xxxx工程名/fckeditor/* ajp13
JkMount /xxxx工程名/servlet/* ajp13
不知道楼主是不是这个问题了,是不是也用了apache整合tomcat应用服务器!!
------解决方案--------------------
java-core-2.6.jar 包下的net.fckeditor.handlers.default.properties中找到


# base URL path for the userfiles
# connector.userFilesPath = /userfiles
connector.userFilesPath = http://localhost/userfiles

把connector.userFilesPath = http://localhost/userfiles改成服务器的IP地址
比如http://192.169.1.254/userfiles;