Authored by mlge

Merge branch 'test6.9.3' of http://git.yoho.cn/platform/platform-cms into test6.9.3

@@ -43,7 +43,7 @@ public class CMSHtmlController { @@ -43,7 +43,7 @@ public class CMSHtmlController {
43 try{ 43 try{
44 //取context下的html文件转成文件流 44 //取context下的html文件转成文件流
45 String filePath = request.getServletContext().getRealPath(url); 45 String filePath = request.getServletContext().getRealPath(url);
46 - logger.info("getContentHtml: filePath is {}", filePath); 46 + logger.info("getContentHtml: filePath is {},realPath is {}", filePath, request.getServletContext().getRealPath("/"));
47 File f = new File(filePath); 47 File f = new File(filePath);
48 logger.info("getContentHtml: file is {}, file path is {}", f, f.getPath()); 48 logger.info("getContentHtml: file is {}, file path is {}", f, f.getPath());
49 fis = new FileInputStream(filePath); 49 fis = new FileInputStream(filePath);