This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes path mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "path mapping" Watch "path mapping" New topic
Author

path mapping

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I always am confused about the path mapping.

for example, if I want to map all jsp file to my custom servlet, I add the url-pattern mapping, it always said "invalid path". I don't know why ?

Any people has any good tutorial or web link to help me ?

Thanks
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Read the servlet spec from sun.
Here is a good comprehensive book on j2ee web tier.
 
Don't get me started about those stupid light bulbs.
 
subject: path mapping