All you need to do is add the WebMetaData into the attachments
and make sure your deployer runs before the other WebMetaData processing deployers.
These other deployers will then turn that metadata into a web/tomcat deployment.
The other web deployers don't care whether the WebMetaData came from parsing
a web.xml or if you created it programmatically.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131034#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...