Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 14105 invoked from network); 20 Nov 2000 20:10:09 -0000 Received: from mercury.sun.com (192.9.25.1) by locus.apache.org with SMTP; 20 Nov 2000 20:10:09 -0000 Received: from taller.eng.sun.com ([129.144.251.34]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA06482 for ; Mon, 20 Nov 2000 12:09:56 -0800 (PST) Received: from eng.sun.com (d-ucup02-251-148 [129.144.251.148]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id LAA18879 for ; Mon, 20 Nov 2000 11:08:29 -0800 (PST) Message-ID: <3A197704.9F7ABE98@eng.sun.com> Date: Mon, 20 Nov 2000 11:09:56 -0800 From: "Craig R. McClanahan" X-Mailer: Mozilla 4.75 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Server-Side Includes (was Re: JSP and embedded servlet call) References: <11898960E237D411B53B0060B06BB445424917@afexch1.fao.org> <200011201646.IAA08776@patan.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Kurt Bernhard Pruenner wrote: > "Lacerda, Wellington (AFIS)" wrote: > > Why don't you use the plain ? > > Because the page is an shtml page that's handled by Apache, and since it's > possible to include JSP-pages that are handled by mod_jserv with the old JServ > I'm curious why this shouldn't be possible with Tomcat. Also, all our html > pages are actually treated as shtml pages, but we really don't want to > > a) change all of them to JSPs > b) have all of them handled by Tomcat for performance reasons > > (FYI, shtml pages are handled by mod_rewrite for Apache, and #include > virtual="..." allows you to include any other page that can otherwise be > served by Apache, except that it mysteriously doesn't work with pages that > come from Tomcat, while it _does_ work with the older JServ... that's why > we've got both JServ and Tomcat running on our server currently, which of > course isn't really preferable... :/) > It would be feasible to add SHTML support to Tomcat. What this would take is creating a servlet to do the appropriate parsing and processing, and map it to the "*.shtml" extension. You might even be able to start with the Apache JSSI servlet (at ) and modify it as necessary to reflect the changes in the servlet API since 2.0. However, no one to date has volunteered to add this feature. If someone wants to, I'd be happy to integrate it in. Any takers? > > -- > Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria > Craig McClanahan