tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dies Koper <d...@jp.fujitsu.com>
Subject Re: getRealPath and war file
Date Thu, 10 Aug 2006 12:10:03 GMT
 > Push a url to a servlet which then serves the images from the working
 > directory?

In which you could also set the headers (images are temporary, so maybe 
set Cache-Control, Expires?).

Regards,
Dies

Mark Thomas wrote:
> Romain Quilici wrote:
>> Hello Dies,
>> the working directory would be fine, but my images need to be accessible
>> via a url(which is not the case if they are located inside the temp dir)
>> In fact when an image is generated, I push the url inside the client
>> browser, the new url automatically replaces the previous one in a
>> statement like <img src=.....>.
>> So I need a url to be able to access my images
> 
> Push a url to a servlet which then serves the images from the working
> directory?
> 
> Mark


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


Mime
View raw message