首先把
imageActionName改成图片上传功能的访问路径比如:http://localhost:8088/项目名/sys/checklogin/carticleuploadfile
imageUrlprefix改成http://localhost:8088/项目名
然后这个action=“/sys/checklogin/carticleuploadfile”必须和imageActionName保持一样 然后再returnhttp://localhost:8088/xfilms/sys/checklogin/carticleuploadfile
必须要把ueditor下的lib下的jar包放到web-info下面否则会出现
An error occurred at line: 12 in the jsp file: /ueditor/jsp/controller.jsp
ActionEnter cannot be resolved to a type
9:
10: String rootPath = application.getRealPath( "/" );
11:
12: out.write( new ActionEnter( request, rootPath ).exec() );
13:
14: %>
然后再在浏览器运行http://192.168.10.2:8080/你的项目名/ueditor/jsp/controller.jsp?action=config,如果返回了一串json,代表controller.jsp可以打开
扫描二维码关注公众号,回复:
8755151 查看本文章
这样就基本OK了