2014年05月16日 | Wizzer | 评论 1、上传文件的文件池路径问题 upload.js filePool : { type : “cn.xuetang.common.file.FilePool”, args : [“/temp/”, 2000] } 将路径改到项目的路径下 public class FilePool extends NutFilePool { public FilePool(String homePath, long size) { super(webinfPath(homePath), size); } private static final String webinfPath(String str) { return Mvcs.getServletContext().getRealPath(“/WEB-INF”)+str; } } 2、Nutz大字段缓存的问题 .nutz/tmp/dao 将 org.nutz.dao.jdbc.nutz_jdbc_experts.js 拷贝到项目类路径下,修改相应的配置,文件夹不冲突即可。 720 total views, 1 views today