This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
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

*.do in web.xml file ?

 
kri shan
Ranch Hand
Posts: 1473
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the meaning of *.do in web.xml file in servlet-mapping's url-pattern tag?
 
Satish SN
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Krishan,

Servlet-Mapping is useful in hiding ur real servelet class names by simply adding the *.do as mapping the user cannot know which servlet it is pointing to.
 
Kalyana Sundaram
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It says that whenever container recieves a request that ends in .do, that request should be forwarded to the ActionServlet.

The ActionServlet being a controller analyzes the request uri and decides what to do next

hope this helps !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic