honzeland

          記錄點(diǎn)滴。。。

          常用鏈接

          統(tǒng)計(jì)

          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 閱讀(1544) 評論(0)  編輯  收藏 所屬分類: JavaWeb

          主站蜘蛛池模板: 香格里拉县| 乐东| 澄江县| 双江| 大埔县| 淄博市| 大兴区| 庆云县| 阿图什市| 青冈县| 曲沃县| 泰州市| 金门县| 德清县| 曲阜市| 乐陵市| 股票| 滦平县| 尖扎县| 蓬溪县| 彰武县| 利川市| 桃园县| 临颍县| 临江市| 锦屏县| 宽甸| 肥西县| 晴隆县| 磐安县| 平度市| 郯城县| 石棉县| 自贡市| 恩施市| 淮阳县| 肇源县| 溧阳市| 穆棱市| 淮北市| 怀仁县|