Richard,
You can have a servlet return the image to the browser rather than have the
web server return the image directly. To get the images, you would use the
servlet path and put a query parameter with the file name. Otherwise, the
images are in a protected area and aren't visible to users
According with the specification , it is not possible.
In fact, all the files you put into "/WEB-INF" will not be served by the
HTTP Server. So, when the browser make the request for image, the server
refuse to serve it.
Maybe you can find a way to make it work , but it doesn't go in the way it
Impossible, WEB-INF is hiden for the client-side.
--- "Pellerin, Richard" <[EMAIL PROTECTED]> a
écrit : >
> Can I have the following hierchy :
>
> WEB-INF/images
> (rather than have the images folder in the same
> level as the WEB-INF)
>
> If yes, how can I access those images in my
> JSP,
Hi,
getting an image is a new request to the webserver...which is not allowed
to let anybody access something below WEB-INF...therefor the image-requests
should fail...
regards
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December
4 matches
Mail list logo