*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Session Timeout setting??
Tracking users and user security
A small web application
application client deployment descriptor
add a java.util.List in application scope parameters.