tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Dyson" <>
Subject RE: server side includes, tomcat and jsp files
Date Thu, 07 Jun 2001 00:58:19 GMT
Where did you get this syntax from?
<!-- #include virtual="...." -->

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.
<jsp:include page= /> action request-time virtual static
Content is not parsed; it
is included in place.

Looks bad with no formatting, but you can figure it out :-)

-----Original Message-----
From: Mick Lysejko []
Sent: Thursday, 7 June 2001 8:48 AM
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. <!-- #include virtual="...." -->

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  :)

Thank you

Get Your Private, Free E-mail from MSN Hotmail at

View raw message