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 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 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895437#3895437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895437 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user