Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 78160 invoked by uid 500); 14 Jun 2001 21:15:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 78129 invoked from network); 14 Jun 2001 21:15:07 -0000 Received: from mail.itascagroup.com (HELO itascasbs.itascagroup.com) (208.42.144.245) by h31.sny.collab.net with SMTP; 14 Jun 2001 21:15:07 -0000 Received: from kevinr (mail.itascagroup.com [208.42.144.245]) by itascasbs.itascagroup.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id LR8J9AN2; Thu, 14 Jun 2001 16:21:45 -0500 Message-ID: <001001c0f517$5a0f9f00$1800000a@kevinr> Reply-To: "kevin ritter" From: "kevin ritter" To: Subject: Server Side Includes using tags in an .shtml file Date: Thu, 14 Jun 2001 16:17:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hello, I would like to know if Tomcat supports the use of tags in an shtml file for server side includes? Here's my shtml file: timezone!

Example of Server-Side Includes

This an places the date and time for various time zones dynamically in this .shtml file.

The current time in London is:

The CurrentTime class file compiles just fine. I think, Tomcat is not parsing the .shtml file. If that's true, what can I do. I have added a new AddType and AddHandler in the tomcat.conf file: AddType text/x-server-parsed-html .shtml AddHandler server-parsed html Options +Includes But that didn't seem to fix the problem. Any suggestions. As always, thank you in advance for your help. Sincerely, kevin.ritter@jcafeinc.com