• Post Reply Bookmark Topic Watch Topic
  • New Topic

necessity to provide servlet name and url-pattern for each servlet in web.xml  RSS feed

 
sai prasanna
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I think A web application may have less or more than 100 servlets ? If so is there any necessity to provide servlet name and url-pattern for each servlet in web.xml
thanks in advance
saiprasanna
 
Bosun Bello
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What ever the number of servlets. It makes things a whole lot easier when you drive it off web.xml. Some things are not possible at all without doing so.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66151
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also explore the Front Comtroller pattern.
 
Chandra Sagi
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If so is there any necessity to provide servlet name and url-pattern for each servlet in web.xml
-----------------------------

I think we need to provide the details for each and every servlet inside the web.xml for us to use them.

Cheers
Chandu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!