开发者

Inherit web.xml from jar file

开发者 https://www.devze.com 2023-01-25 23:01 出处:网络
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).

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

0

精彩评论

暂无评论...
验证码 换一张
取 消