Didn't I just answer your exact same question in the servlet email group?

Jeeze
-B

>>> [EMAIL PROTECTED] 02/07/03 10:47AM >>>
Has anyone activated Server Side Include(SSI) in Tomcat 4.1 ?

I have followed the normal instructions under Apache's Tomcat website,
including :

1. Renaming servlets-ssi.renametojar to servlets-ssi.jar in directory
CATALINA_HOME/server/lib/ ;

2. Uncommented <servlet><servlet-name>ssi</servlet-name>...</servlet> and
<servlet-mapping>
        <servlet-name>ssi</servlet-name>
        <url-pattern>*.shtml</url-pattern>
    </servlet-mapping>
in web.xml in directory CATALINA_HOME/conf/ ;

3.Created a *.shtml file with the necessary <servlet code=..><param name=..
value=..></servlet> tags.

The problem is : when I call this *.shtml file under Tomcat, it does seems to
recognise my servlet - it only output its text content - although when I
directly call the servlet, it has no problem rendering its output.

Is the <servlet> tag supported at all ?

Any help will be much appreciated.

Bob.

p.s.: I have googled, but can't find any solutions. Maybe Craig could us some 
highlights.


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

Reply via email to