You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Pellerin, Richard" <ri...@sap.com> on 2001/12/06 17:38:47 UTC
Webapps question (almost Struts related)
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,src="
WEB-INF/images/any.gif" doesn't work !!!
Thanks
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Webapps question (almost Struts related)
Posted by Richard Yee <ry...@cruzio.com>.
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.
Regards,
Richard
At 05:38 PM 12/6/2001 +0100, you wrote:
>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,src="
>WEB-INF/images/any.gif" doesn't work !!!
>
>Thanks
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Webapps question (almost Struts related)
Posted by "emmanuel.boudrant" <b7...@yahoo.fr>.
Impossible, WEB-INF is hiden for the client-side.
--- "Pellerin, Richard" <ri...@sap.com> 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,src="
> WEB-INF/images/any.gif" doesn't work !!!
>
> Thanks
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
___________________________________________________________
Nokia 5510 Drôle de look... et quel son !
Cliquez sur http://fr.promotions.yahoo.com/nokia/
Découvrez-le et tentez votre chance pour en gagner un !
Fin du concours le 16 décembre.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>