0
目前我指定路径到共享图像目录中的检票程序如下:指定图像目录的路径作为一个共享的资源目录
getSharedResources().add("images", new FolderContentResource(new File(this.getServletContext().getResource("/images").getFile())));
按照路线无法正常工作或:
getSharedResources().add("images", new FolderContentResource(new File("/opt/tomcat/webapps/test/images")));
将应用程序部署到Jelastic/Tomcat时,无法检索图像。如何解决这个问题?
尽管名字'temp'没有被Jelastic清除 – 2015-11-03 17:09:21