windows下ueditor1.4.3.3 jsp 版本在线管理图片显示问题。 3ff8
2017-02-22 10:57
495 查看
最直接的办法,修改controller.jsp
参考链接:http://www.oschina.net/question/1171436_164673?sort=time
<%@ page language="java" contentType="text/html; charset=UTF-8" import="com.baidu.ueditor.ActionEnter" pageEncoding="UTF-8"%> <%@ page trimDirectiveWhitespaces="true" %> <% request.setCharacterEncoding( "utf-8" ); response.setHeader("Content-Type" , "text/html"); String rootPath = application.getRealPath( "/" ); String action = request.getParameter("action"); String result = new ActionEnter( request, rootPath ).exec(); if( action!=null && (action.equals("listfile") || action.equals("listimage") ) ){ rootPath = rootPath.replace("\\", "/"); result = result.replaceAll(rootPath, ""); } out.write( result ); %>
参考链接:http://www.oschina.net/question/1171436_164673?sort=time
相关文章推荐
- ueditor 图片在线管理显示不了发现是返回的物理路径“/”问题,在controller.jsp里做如下修改
- JSP UEditor图片在线管理及预览时图片路径问题解决
- Ueditor图片上传设置(1.4.3 JSP版本) - 解决图片不能显示问题
- 百度编辑器Ueditor 多图上传 图片在线管理的排序问题解决方案
- 解决ueditor编辑器图片在线管理图片无法显示
- ueditor 图片在线管理显示不了
- ueditor1.4.3jsp版成功上传图片后却回显不出来与在线管理显示不出图片的解决方案
- jsp版ueditor图片在线管理返回绝对路径
- 解决ueditor编辑器图片在线管理图片无法显示
- 解决ueditor百度富文本编辑器图片可以上传但是在线管理图片无法显示
- 解决ueditor编辑器图片在线管理图片无法显示
- ueditor1.4.3 jsp版本图片上传配置问题
- ueditor1.4.3 jsp版本图片上传配置问题
- 解决ueditor编辑器图片在线管理图片无法显示
- jsp ueditor 图片在线管理图片路径
- windows版本的Emacs 无法显示图片的解决方法
- 删除百度Ueditor编辑器 在线管理 图片搜索 功能
- Ueditor图片上传设置(1.4.3 JSP版本)
- windows版本的Emacs 无法显示图片的解决方法
- Ueditor1.4.3版本多图上传中的在线管理BUG