Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml tags urgent help please

 
mahend pachpor
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we have more then one configuration file for single web application


I am having 10 servlets can I map 5 servlets in web.xml and another 5 in another xml file with any name and call this file in web.xml


I need urgent help on this please help me

My email mahend_pachpor@yahoo.co.in
mahendra.pachpor@gmail.com
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Only one web.xml exists and you cant configure the servlet requests anywhere else. Unless you are using a framework like struts where you would have to use struts-config.xml to map the request to servlets ( actions actually ! there is only one servlet ). So i guess strictly speaking you can only configure it in web.xml
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic