标签:style blog class code java tar
1 up.upload();
2 response.getWriter().print("{‘original‘:‘"+up.getOriginalName()+"‘,‘url‘:‘"+up.getUrl()+"‘,‘title‘:‘"+up.getTitle()+"‘,‘state‘:‘"+up.getState()+"‘}");
修改之后:
1 up.upload();
2 /*URL的修正,此处涉及到回显*/
3 String urlFix=up.getUrl().replace("../../", "");
4 response.getWriter().print("{‘original‘:‘"+up.getOriginalName()+"‘,‘url‘:‘"+urlFix+"‘,‘title‘:‘"+up.getTitle()+"‘,‘state‘:‘"+up.getState()+"‘}");
2.2 图片管理配置
富文本编辑器-ueditor基本配置,布布扣,bubuko.com
标签:style blog class code java tar
原文地址:http://www.cnblogs.com/yidf/p/3720073.html