Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 7398 invoked by uid 500); 7 Jun 2001 10:22:46 -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 7362 invoked from network); 7 Jun 2001 10:22:42 -0000 Received: from f151.law7.hotmail.com (HELO hotmail.com) (216.33.237.151) by h31.sny.collab.net with SMTP; 7 Jun 2001 10:22:42 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Jun 2001 03:22:25 -0700 Received: from 62.189.91.50 by lw7fd.law7.hotmail.msn.com with HTTP; Thu, 07 Jun 2001 10:22:24 GMT X-Originating-IP: [62.189.91.50] From: "Mick Lysejko" To: tomcat-user@jakarta.apache.org Bcc: Subject: RE: server side includes, tomcat and jsp files Date: Thu, 07 Jun 2001 10:22:24 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Jun 2001 10:22:25.0115 (UTC) FILETIME=[BEE4D2B0:01C0EF3B] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Yes, I have a plugin for apache that allows you to dynamically insert content etc into the content that's being delivered. so in my normal content I have: This works for my normal content but I aslo want it to work in my jsp files too. What I find is that the tag is ignored in my jsp files so when I 'view source' I see the above string not the returned content. As I said below I have tried the directive: AddHandler server-parsed .jsp but it seems to have no effect. For each change I've done in each place I've tried I have re-started both tomcat and apache too. thanks Mick. > >Ross, the include format he showed was the common server side include >format >that can be used in HTML with many web servers (including both apache and >IIS) > >-----Original Message----- >From: Ross Dyson [mailto:rdyson@reef.com] >Sent: Wednesday, June 06, 2001 5:58 PM >To: tomcat-user@jakarta.apache.org >Subject: RE: server side includes, tomcat and jsp files > > >Where did you get this syntax from? > > >jsp has 2 sorts of includes, compile time and run time. >from the jsp 1.1 spec document: >TABLE 2-1 Summary of Include Mechanisms in JSP 1.1 >Syntax What Phase Spec Object Description Section ><%@ include file=... %> directive translation-time virtual static Content >is >parsed by >JSP container. >2.7.6 > action request-time virtual static >and >dynamic >Content is not parsed; it >is included in place. >2.13.4 > >Looks bad with no formatting, but you can figure it out :-) >Ross. > >-----Original Message----- >From: Mick Lysejko [mailto:mickly@hotmail.com] >Sent: Thursday, 7 June 2001 8:48 AM >To: tomcat-user@jakarta.apache.org >Subject: server side includes, tomcat and jsp files > > >Hi folks, > >I have installed apache 1.3.17 and tomcat 1.3.3 and it all works fine. >However, I wish to do server side includes in my jsp files and this does >not >work. eg. > >I have tried the apache directive: >adhandler server-parse .jsp > >in httpd.conf. Here it stops my jsp pages getting parsed and I got server >errors (400 I think). > >I then tried adding it to apache-tomcat.conf >-- here it just gets over writen.... > >Then I tried to put it in tomcat.conf >-- here it seems to be totaly ignored. > >Does anyone have any Ideas. any help welcome :) > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.