Forums Register Login

Mapping an image in Web.xml?

+Pie Number of slices to send: Send
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
get schwifty. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 702 times.
Similar Threads
struts 2 file upload problem
jpa2web with tomcat problem
How to reference images in Velocity templates
Need suggestion regarding an issue related to content type header
Mistakenly changed web.xml
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:43:36.