This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml

 
tanaji hurkude
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can We import another xml file in web.xml
 
Tim Wise
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic