Meaningless Drivel is fun!
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


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: 63208
    
  69

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]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Possible to include other XML files within my web.xml file?
 
It's not a secret anymore!