This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSP and the fly likes Servlet - Request Path MApping doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Servlet - Request Path MApping doubt" Watch "Servlet - Request Path MApping doubt" New topic
Author

Servlet - Request Path MApping doubt

Deepan Devadasan
Ranch Hand

Joined: Jan 25, 2007
Posts: 226
Hi..

We know that we have (in precedence order)
1)Exact path
2)directory
3)and extension

Here is something i found in an exam simulator

A string containing only the '/' character indicates the "default" servlet of the application. In this case the servlet path is the request URI minus the context path and the path info is null.


do we really have anything called default mapping..

if so can someone please explain it...

Thanks


Theepan Thevathasan
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet - Request Path MApping doubt