well it should work but. Check the permissions of the files!
And sometimes you have to use C://ProjectGallery//web//..
this is what I would try at first.

Ciao


---------- Initial Header -----------

>From      : "news" [EMAIL PROTECTED]
To          : user@struts.apache.org
Cc          :
Date      : Mon, 19 Sep 2005 12:20:04 +0200
Subject : Reading image outside webapp contextpath??







> I'm making a project that makes a picture gallery that has to be
> accessible throw web, wap, webdav and file sharing. The project
> consisting of a ejb backend and struts frontend(using velocity as
> presentation).
> I have made the EJB backend so that each dir with pictures in has a xml
> file contaning all the pictures file address, thumbnail file address, a
> wapnail file address and a name.
>
> Now my problem is in the sturts frontend, when I what to show the
> gallery. Tomcat will not show the picture because it is outside me
> webapp contextpath.
> How do I make tomcat/struts look in this "shared" dir where I got me pic?
> Or do I have to do it in a other way?
>
> This is my html:
>
> <img src="C:/ProjectGallery/web/testGallery/webthumb/T_billed4.jpeg"
> alt="C:/ProjectGallery/web/testGallery/webthumb/T_billed4.jpeg" >
>
>
>
>
>
> If this is the wrong forum then pls let me know so that I can post in
> the right place.
>
> Thank you all very much ;-)
>
> /Marc
>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to