tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yiannis Mavroukakis <yian...@jaguarfreight.com>
Subject RE: include files
Date Tue, 10 Feb 2004 15:07:51 GMT
The touch command is on Unix OS'es. It hasn't got anything to do with
tomcat. What it does is it updates (among other things) the last modified
attribute
of a file, but in your case the purpose is (at least if my head is screwed
on right)
to trigger Tomcat into detecting a file change in the work directory, hence
doing a reload.
If I got the Tomcat bit wrong, shoot at the bright red target on my
forehead :)

Yiannis.

-----Original Message-----
From: Chris Daly [mailto:C.daly@cancer.org.uk]
Sent: 10 February 2004 14:50
To: Tomcat Users List
Subject: Re: include files


thanks.

do i delete the name of the app under tomcat, for example 
work/Standalone/localhost/Website ?  and all the $... files and the two 
directories -  Help and WEB-INF under this directory ?

what is the touch cmd ?  i cant find it in my wrox tomcat book ?

cheers

chris

You would delete only the directory relative of your site, under the work 
directory of tomcat;
for example, if you site is called www.test.org, you must delete the 
directory under tomcat work/www.test.org_8080;
probably the name may be different from release;
after delete it, you must restart tomcat;
But have you tried to use the touch cmd on all .jsp file that include your 
include.jsp? I use this mode, and all is OK, and I doesn't delete the work 
directory;


At 11:25 10.02.2004 +0100, you wrote:
>You would delete only the directory relative of your site, under the work 
>directory of tomcat;
>
>for example, if you site is called www.test.org, you must delete the 
>directory under tomcat work/www.test.org_8080;
>
>probably the name may be different from release;
>
>after delete it, you must restart tomcat;
>
>But have you tried to use the touch cmd on all .jsp file that include your 
>include.jsp? I use this mode, and all is OK, and I doesn't delete the work 
>directory;


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__________________________________________________________________
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message