Lyallex wrote:
> 2009/6/11 Caldarale, Charles R <chuck.caldar...@unisys.com>:
>>> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com]
>>> Subject: Re: Loading dynamically created content: An old chestnut but
>>> still a problem.
>>>
>>> Then I copied a random example.gif image to the ROOT directory
>>> and entered http://localhost:8080/example.gif in my address bar.
>>> And there it is in my browser.
>> Just to confirm that there's no long-term caching, I extended the above by 
>> starting Tomcat, loaded the home page in Firefox, replaced tomcat.gif by one 
>> of Bill the Cat with the name tomcat.gif, refreshed the page with F5, and 
>> got the revised, much uglier image in the upper left corner.
>>
>>  - Chuck
> 
> OK, all very nice ... I just tried this. The server was running and my
> application was up and working.
> I copied an image into the ROOT directory then tried to access it like
> so http://localhost/main.jpg and got a 404 not found.
> 
> I stopped and restarted the server (very important this) and tried the
> same request again and the image loaded.
> 
> I'm not imagining this. It is a fact. On my setup (tomcat 6.0.16.
> jdk1.6.0_03, Windows XP SP 2) I cannot load images that have been
> written to disk after the server starts ... sorry if this offends you
> in some way, it's driving ME nuts especially as you all seem to have
> no trouble with this. I'm almost tempted to load the app onto the live
> server and see if it works there. .. no, that way lies madness.

This all all a expected side-effect of using the anti resource locking
features.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to