aspose file tools*
The moose likes Servlets and the fly likes Possible to include other XML files within my web.xml file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Possible to include other XML files within my web.xml file?" Watch "Possible to include other XML files within my web.xml file?" New topic
Author

Possible to include other XML files within my web.xml file?

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using JBoss 5.1 AS on Mac 10.5.6. In an attempt to make my web.xml file cleaner, I would like to separate the <env-entry>s into their own file. However, I'm unable to find how to include another XML file in my original web.xml file. Any ideas?

The web-app spec I'm using is



Thanks, - Dave
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61428
    
  67

No can do, unless you do something to merge them yourself in an Ant script or something.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Possible to include other XML files within my web.xml file?