This cannot be done.  A web browser only has access to the files in your war 
file (or war directory), and then not even to all of those.  In fact, you 
should be glad it cannot be done because if someone could access c:\images 
remotely, they could just as easily access, for example c:\documents and 
settings\acardeiradias\passwords.txt.

The best thing to do is have the ant script that buidls the war file copy the 
images from the c:\images directory to a location within the war file.  
Typically, is a simple web application, the jsp files go in the base directory 
and the image files into an images directory.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882148#3882148

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882148


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to