• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlets  RSS feed

 
kege james
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does each individual servlet need their own 'web.xml' file? or is there a way to have one universal web.xml file for all servlets within the same directory?

thanks for taking the time
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is only one web.xml file for each web application which can contain the declarations for any number of servlets.

Moved to the Servlets forum.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!