Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

*.do in web.xml file ?

 
kri shan
Ranch Hand
Posts: 1478
  • 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