Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 4471 invoked from network); 14 Nov 2006 09:51:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2006 09:51:50 -0000 Received: (qmail 8062 invoked by uid 500); 14 Nov 2006 09:51:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 8037 invoked by uid 500); 14 Nov 2006 09:51:45 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 8026 invoked by uid 99); 14 Nov 2006 09:51:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 01:51:45 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.140.77.184] (HELO mail.schoenhaber.de) (217.140.77.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 01:51:32 -0800 Received: from localhost (unknown [127.0.0.1]) by mail.schoenhaber.de (Postfix) with ESMTP id 954D670301E5 for ; Tue, 14 Nov 2006 09:51:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at schoenhaber.de Received: from mail.schoenhaber.de ([127.0.0.1]) by localhost (mail.schoenhaber.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EqnAK-937Yif for ; Tue, 14 Nov 2006 10:51:04 +0100 (CET) Received: from Gimli.schoenhaber.de (Gimli [192.168.42.6]) by mail.schoenhaber.de (Postfix) with ESMTP id 2CFFA7049A31 for ; Tue, 14 Nov 2006 10:51:04 +0100 (CET) From: Markus =?iso-8859-15?q?Sch=F6nhaber?= Reply-To: users@tomcat.apache.org To: "Tomcat Users List" Subject: Re: regarding server side includes in shtml Date: Tue, 14 Nov 2006 10:51:02 +0100 User-Agent: KMail/1.9.5 References: <203d357e0611132051w2f0b2759wd6a38e74b33cb719@mail.gmail.com> In-Reply-To: <203d357e0611132051w2f0b2759wd6a38e74b33cb719@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611141051.02564.mailing-tomcat-user@schoenhaber.de> X-Virus-Checked: Checked by ClamAV on apache.org prakash shanmugam wrote: > In my project I need to use Server Side Includes. I just want to know the > details how to make that server side includes to work properly which is > constructed as ". Shtml file " . I am using tomcat5 . > > I have done the following things. > > 1) included servlet tags in html file wherever necessary and saved it > as .shtml file. > > 2) Then in conf/web.xml file I have uncommented the tags related to SSI > mapping > > 3) Then renamed server/lib/servlet-ssirenametojar file as > server-ssi.jar . > > But the servlet code included in the servlet tag is not at all called and > executed. > Can u help me to solve this problem SSI and Servlets are completely different things. When a HTML file is handled by the SSI mechanism no "servlet tag" (whatever that means) or Java code will be executed. Read this http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html or this http://httpd.apache.org/docs/1.3/howto/ssi.html to find out how SSI work. If you want to embed Java code into HTML, use JSP. Regards mks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org