File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes ~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~" Watch "~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~" New topic

~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~

Altaf Raja

Joined: Dec 05, 2001
Posts: 5
hi, i had modified the startup.bat for tomcat 3.1 version
i have modified the page!
but my page doesnt reflect, etc
things like tht!
well, with this new startup.bat
u need not worry again;
coz it cleans the work folder everytime u start the tomcat Server!

cut and paste ur existing startup.bat with this ...
@echo off
rem $Id: startup.bat,v 1.7 2000/03/31 19:40:02 craigmcc Exp $
rem Startup batch file for tomcat servner.
rem This batch file written and tested under Windows NT
rem Improvements to this file are welcome

if not "%TOMCAT_HOME%" == "" goto start
if exist %TOMCAT_HOME%\ work goto delwork:
if exist %TOMCAT_HOME%\bin\tomcat.bat goto start
if exist %TOMCAT_HOME%\bin\tomcat.bat goto start
echo Unable to determine the value of TOMCAT_HOME.
goto eof
call %TOMCAT_HOME%\bin\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9
deltree /Y %TOMCAT_HOME%\work

Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
I won't be so quick to blame Tomcat. I'm more inclinded to blame your #$^@%^#$ browser. Most cases like this are due to browser cacheing. Check your settings and ensure the browser is checking for a new page from the server every time and not once a session.
I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
[This message has been edited by Carl Trusiak (edited December 06, 2001).]

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
I agree. Here's the link:
subject: ~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~
It's not a secret anymore!