aspose file tools*
The moose likes Tomcat and the fly likes Can I do a URL-mapping for something besides a Servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can I do a URL-mapping for something besides a Servlet?" Watch "Can I do a URL-mapping for something besides a Servlet?" New topic
Author

Can I do a URL-mapping for something besides a Servlet?

Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
Hi,
I want to make a URL-mapping in the web.xml file for a directory, not a servlet. Is that possible? If so, can someone give me an example?
I'm trying to set it up so that my Servlet doesn't have to use an absolute pathname when uploading files, so the application can be more portable.
Thanks in advance for any help,
g.
 
 
subject: Can I do a URL-mapping for something besides a Servlet?