aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~" Watch "~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~" New topic
Author

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

Altaf Raja
Greenhorn

Joined: Dec 05, 2001
Posts: 5
hi, i had modified the startup.bat for tomcat 3.1 version
remember!
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!

enjoy!!!
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
SET TOMCAT_HOME=.
if exist %TOMCAT_HOME%\ work goto delwork:
if exist %TOMCAT_HOME%\bin\tomcat.bat goto start
SET TOMCAT_HOME=..
if exist %TOMCAT_HOME%\bin\tomcat.bat goto start
SET TOMCAT_HOME=
echo Unable to determine the value of TOMCAT_HOME.
goto eof
:start
call %TOMCAT_HOME%\bin\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9
:eof
:delwork
deltree /Y %TOMCAT_HOME%\work
***************

------------------
Carl Trusiak
Sheriff

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ~!@#$%^&*()_+ For All Tomcat Users +_)(*&^%$#@!~