This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp not mapping.Why Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jsp not mapping.Why" Watch "jsp not mapping.Why" New topic

jsp not mapping.Why

Vilas Lawande
Ranch Hand

Joined: Nov 07, 2006
Posts: 127
Hi ranchers,
Jsp is internally converted to servlet.
Why not requirement to of mapping?
Would it automatically did servlet mapping for corresponding jsp file?
If yes, where that code is present ?
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

For example, if you look at Tomcat's default web.xml (conf/web.xml), you'll see that it already maps all *.jsp and *.jspx requests to one of its own servlets called "jsp".

[My Blog]
All roads lead to JavaRanch
Vilas Lawande
Ranch Hand

Joined: Nov 07, 2006
Posts: 127
<!-- JSPC servlet mappings start -->



<!-- JSPC servlet mappings end -->

Do you means these code?
I agree. Here's the link:
subject: jsp not mapping.Why
Similar Threads
Accessing the Servlet Init parameters in jsp
how to give jsp page in href
Servlet virtual path
Tomcat 5.5 and jspx
how to get jsp init params