更新代码
This commit is contained in:
parent
163a582dd0
commit
e6c18e9541
@ -31,7 +31,8 @@ public class UeditorController {
|
||||
request.setCharacterEncoding("utf-8");
|
||||
response.setHeader("Content-Type", "text/html");
|
||||
//注意path不能含有中文路径,确认该path能指向config.json
|
||||
String path = ClassUtils.getDefaultClassLoader().getResource("").getPath() + "config";
|
||||
// String path = ClassUtils.getDefaultClassLoader().getResource("").getPath() + "config";
|
||||
String path = "E:/Workspace/Work/lanan/lanan-system/dl-module-base/target/classes/config/ueditor/config";
|
||||
System.out.println("path = " + path);
|
||||
PrintWriter printWriter = response.getWriter();
|
||||
printWriter.write(new ActionEnter(request, path).exec());
|
||||
|
Loading…
Reference in New Issue
Block a user