honzeland

          記錄點滴。。。

          常用鏈接

          統計

          Famous Websites

          Java

          Linux

          P2P

          最新評論

          Tomcat Architecture Diagram

          zz from http://marakana.com/forums/tomcat/general/106.html


          Valve and Filter:
          "Valve" is Tomcat specific notion, and they get applied at a higher level than anything in a specific webapp. Also, they work only in Tomcat.

          "Filter" is a Servlet Specification notion and should work in any compliant servlet container. They get applied at a lower level than all of Tomcat's
          Valves.

          However, consider also the division between your application and the application  server. Think whether the feature you're planning is part of your application, or is it rather a generic feature of the application server, which could have uses in other applications as well. This would be the correct criteria to decide between Valve and Filter.

          Order for filter: The order in which they are defined matters. The container will execute the filters in the order in which they are defined.

          posted on 2010-05-10 10:39 honzeland 閱讀(1545) 評論(0)  編輯  收藏 所屬分類: JavaWeb

          主站蜘蛛池模板: 林口县| 四子王旗| 玉屏| 威海市| 新巴尔虎右旗| 米林县| 吕梁市| 开原市| 交口县| 吐鲁番市| 大理市| 丹巴县| 姜堰市| 岳阳市| 夏邑县| 景东| 长沙县| 桦甸市| 石狮市| 右玉县| 平邑县| 格尔木市| 颍上县| 英吉沙县| 婺源县| 长宁县| 和顺县| 永吉县| 金坛市| 禹城市| 婺源县| 怀宁县| 固镇县| 修水县| 安泽县| 九龙坡区| 荣昌县| 尚志市| 陵水| 江口县| 呼玛县|