No. But if I were you - I would write an Ant task which
1) unpacked the war
2) copied the original web.xml to a backup name (for reference)
3) injected the security constraint
4) repackage the war

Or you can create a Valve which does the additional constraints.

-Tim

Rolf Schumacher wrote:

Dear long time Tomcat operators,

I get new versions of a war file very often.
Due to authorization constrains I have to place
some extra  security-constraints clauses into it
- every time I deploy a new version.

Is there a way to tell Tomcat to get the web.xml
from a different place than WEB-INF for a
particular application even if the war file
supplies one?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to