Oh, by the way, you need to give it an extension of .jsp.

-B

>>> [EMAIL PROTECTED] 02/07/03 09:50AM >>>
Tomcat doesn't support the <servlet> tag.  

Try <jsp:include page="/path-to-servlet/servlet-name" />

-B


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

I have followed the normal instruction 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.

Any help will be much appreciated.

Bob.

p.s.: I have googled, but can't find any solution. Sorry for the slight
off-topic once again.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html 
Resources: http://java.sun.com/products/servlet/external-resources.html 
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html 

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to