File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "path mapping" Watch "path mapping" New topic

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 ?

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.
I agree. Here's the link:
subject: path mapping
It's not a secret anymore!