UEditor版本:1.4.3.3 JSP版
解决方法:修改ueditor图片上传的请求,将图片传到自己的后台进行图传上传然后返回图片路径。
1.修改controller.jsp内容,config.json里面的图片相关配置内容不做任何修改
<%@ 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 action = request.getParameter("action");
String start = request.getParameter("start