wood burning stoves 2.0*
The moose likes Servlets and the fly likes Mapping an image in Web.xml? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Mapping an image in Web.xml? " Watch "Mapping an image in Web.xml? " New topic
Author

Mapping an image in Web.xml?

Andrew Mcmurray
Ranch Hand

Joined: Sep 24, 2005
Posts: 188
Hi all

Is it possible to map a url to an image in web.xml? For example if I had an image file stored it in the webApp\images dir and changed its ext from .jpg to .abc could I some how have an HTML page display that image, without renaming the image file by mapping it some way in the web.xml?

Thanks,

AM
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mapping an image in Web.xml?
 
Similar Threads
Need suggestion regarding an issue related to content type header
jpa2web with tomcat problem
How to reference images in Velocity templates
struts 2 file upload problem
Mistakenly changed web.xml