Posted on 2009-09-02 23:08
Gavin.lee 閱讀(120)
評論(0) 編輯 收藏
http://www.hackhome.com/InfoView/Article_120872.html web.xml詳解
如果要在Servlet中觀察過濾器生成的日志,應該確保在server.xml的localhost對應的<host>元素中配置如下<logger>元素:
<Logger className = “org.apache.catalina.logger.FileLogger”
directory = “logs”prefix = “localhost_log.”suffix=”.txt”
timestamp = “true”/>
在web.xml中配置Servlet和Servlet過濾器,應該先聲明過濾器元素,再聲明Servlet元素
http://www.360doc.com/index.aspx 360doc --個人圖書館
http://www.360doc.com/content/080423/09/58525_1209957.html Eclipse中使用自定義模板彌補MyEclipse沒有新建Filter的功能
http://www.javatx.cn/index.jsp java 天下社區
http://blog.csdn.net/zwhfyy/archive/2008/04/28/2338750.aspx 五個有用的過濾器