File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60046
    
  65

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Possible to include other XML files within my web.xml file?
 
Similar Threads
error for first web application : The requested resource (/Beer-v1/SelectBeer.do) is not available.
EJB3 - NullPointerException with @EJB Injection
getting error when deploying web app in weblogic 10.0
isELIgnored="false"
@EJB doing nothing - jboss-4.2.2.GA