I'm acutally no tomcat or jsp guru, but I think you have to use JSP-syntax
to include other jsps (or any other files)
have a look at the jsp reference @ javasoft.com
1.)
Include Directive Includes a static file, parsing the file's
<%@ include file=" relativeURL "%>
2.)
<jsp:include> Includes a static file or sends a request
to a dynamic file.
<jsp: include page="{ relativeURL | <%= expression %>}" flush=" true"
{/>|
[ <jsp: param name=" parameterName " value="{ parameterValue | <%=
expression %>}" /> ]+
</ jsp: include> }
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 31. Januar 2001 15:54
An: [EMAIL PROTECTED]
Betreff: Server Side Includes(SSI) and Tomcat vs JSP Include Directive
Does Tomcat have the ability to parse a common SSI like the following on an
'.shtm' page.
<!-- BEGIN HEADER TABLE-->
<!--#include virtual="/includes/header.htm"-->
<!-- END HEADER TABLE-->
My setup is Tomcat 3.2.1 and IIS 4.0. I have '.shtm' files in a Tomcat
url-protected directory. I want Tomcat to be able to serve up the '.shtm'
correctly, which requires it to parse through the '.shtm' files and
acknowledge the SSI include syntax. I don't want to convert all the '.shtm'
pages into '.jsp' files just to use the JSP include directive.
Any Ideas?
Thanks in advance,
Bob
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]