On 9/5/07, Angelo Chen <[EMAIL PROTECTED]> wrote:

> My server runs only tomcat 5.5, and my app needs to copy some jpeg files to
> a temporary directory so that  the generated page can refer to them like:
> <img src = "http://mydomain.com/temp/J12345.jpg";, now how to map a directory
> in the file system to http:/mydomain.com/temp? Thanks.

You could use a symlink, or you could use a servlet mapped to /temp/*

HTH,
-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to