no, SSI scripts aren't recognized by some browsers, so to avoid letting them error out the SSI is wrapped in comments and older browsers will ignore it.

The section on directives on this page gives an example:

http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html




----- Original Message ----- From: "ALEX HYDE" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, November 16, 2005 4:50 PM
Subject: Re: can't get #include to work


Is that supposed to be a comment and not an include?

<!-- comment -->

<%@ include file="myinclude.html" %>

--- Mark Thomas <[EMAIL PROTECTED]> wrote:

[EMAIL PROTECTED] wrote:
> I'm trying to include a file as my footer section.
 I have formatted the section in home.html as:
>
> <!--#include file="footer.html"-->
>
> after doing this and viewing the file through my
local_host:8080 i don't see the footer.html file
showing up.
>
> from what I can see I need to enable SSI within
tomcat.  I'm supposed to add
>
> Options +Includes
> to my  httpd.conf or .htaccess file.
This is to install SSI for the Apache web server
(httpd).

> I'm running tomcat 5.5.9 on a windows XP box, I
know, shame on me but it's all I have right now.
You need to uncomment the SSI servlet definition AND
mapping in the
conf/web.xml file

It sounds like you need to read the Tomcat
documentation. The SSI how
to would be a good place to start.


http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html

mark



---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]






___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to