wood burning stoves*
The moose likes JSF and the fly likes web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "web.xml" Watch "web.xml" New topic
Author

web.xml

tanaji hurkude
Greenhorn

Joined: Aug 07, 2007
Posts: 3
Can We import another xml file in web.xml
Tim Wise
Greenhorn

Joined: Jul 25, 2009
Posts: 15
Hi

You may include one XML file into another by using XML entities. I never tried this before on web.xml, but why shouldn't it work with it - after all this is an XML feature. For example, let this will be a content of "resources.xml" file (it should be available for the server's parser, thus better to put it in the same directory where your web.xml is)


And you want to include it into your web.xml. It works like this:



I tried this out on my application - it works fine indeed. Hope this helps you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml