Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Old Files Are listed in Directory Listings

Status
Not open for further replies.

moonoo

Programmer
Joined
May 17, 2000
Messages
62
Location
US
Hi ,
I am working with Tomcat 5 in Unix enviroment with ant build.When I create a new file its being listed in the directory listings in the (eg:http:servername/html) . But when the File is deleted then also it is beimg listed . How do I take out the deleted file from the directory listings in the tomcat . Starting and stooping the server does not help . How do i clear the old cache?
Any help will be appreciated
Regards
Dev
 
Sometimes I have found tomcat caches stuff. The best way to avoid this is to use .war files for your deployment, but even this does not work sometimes.

If you have this problem, first, check it is not your browser (delete the cache in the browser).

If still no luck, then stop tomcat, and remove the following directory :

TOMCAT_HOME/work/Standard Engine/serverName/*

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top