#222 How do Tomcat and JBoss deal with how multiple web.xml files

v3.2
closed-works-for-me
nobody
Other (25)
5
2004-12-06
2004-12-02
rzx123
No

Hi,

Would you help me for the following or point me to the
right direction?

How do Tomcat and JBoss deal with how multiple
web.xml files are dealt with? The particular scenario
would be: How is a servlet filter defined in the container-
level web.xml, as well as in each webapp's web.xml? If
there are web.xml entries in both places, does it
read/process both? Also, we need to know if it works
for both Tomcat and JBoss, with JBoss being our primary
target.

Please email to rzx123@yahoo.com if you can reply.

Thanks,

Robert

Discussion

  • Scott M Stark
    Scott M Stark
    2004-12-06

    Logged In: YES
    user_id=175228

    Filters at both levels are processed. Tomcat is what handles
    this so it works in standalone as well as the embedded
    tomcat version.

     
  • Scott M Stark
    Scott M Stark
    2004-12-06

    • status: open --> closed-works-for-me