Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Altaf Raja
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic