wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
 
Similar Threads
About some web descriptor dtd's
can I do this in servlet-mapping?
Making my own servlet (for the first time...)
my servlet says its unavailable in IE
Tiles not picking up stylesheet in Spring app