Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Instance

 
RajeshDuray
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there is any way to create a multiple instance for a servlet explicitly?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create multiple servlet entries in you web.xml file that all use the same servlet class.
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Here you mentioned multiple servlet names mapped to single class..

How about other way round....multiple classes mapped with same name...

I didnt check it practically ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic