This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 14688

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
It's not a secret anymore!