Inherit web.xml from jar file
We have many web applications that have shared setting (the web.xml and 开发者_如何学JAVAservlets are the same) and just Spring routes requests to different beans (BlazeDS & Spring).
My question is: is there a way to place web.xml in a shared jar? or another way to have the common web.xml exist once so it can come from a framework?
Servlet 3 specification support for web.xml includes. Which means that you can split your giant configuration file to few smaller: spring-config.xml, blazeds-config.xml etc
精彩评论