2012年12月25日

转:过滤器Filter配置总结

摘要: 在Java web开发中常会使用到功能强大的过滤器,他毕竟能给我们带来很大的方便,但是针对过滤的资源我们需要详细的了解他们在web.xml中的配置信息。这个根据几种常用的不同情况进行了总结:1。如果要映射过滤应用程序中所有资源:<filter> <filter-name>loggerfilter</filter-name> <filter-class>myfilter.LoggerFilter</filter-class></filter><filter-mapping> <filter-name> 阅读全文

posted @ 2012-12-25 17:53 luckistmaomao 阅读(135) 评论(0) 推荐(0) 编辑

导航