NutzCN Logo
问答 NutFilter的isExclusion方法,为什么html后缀不在白名单里面?
发布于 525天前 作者 wx_76f0hm3q2j4f0728cur9 718 次浏览 复制 上一个帖子 下一个帖子
标签:
public class NutFilter implements Filter {
    protected static Log log;
    protected ActionHandler handler;
    protected static final String IGNORE = "^.+\\.(jsp|png|gif|jpg|js|css|jspx|jpeg|swf|ico|map)$";
1 回复

自己在配置文件上加上这个属性的正则就行
nutz.mvc.ignore=

添加回复
请先登陆
回到顶部