The <servlet> </servlet> tag was never a part of the servlet specification. If I'm not mistaken it was supported by the Java webserver, Jrun, etc. But never by Tomcat. Use <jsp:include.../> instead. So replace <servlet code="Hello.class"> with <jsp:include page="/servlet/Hello" flush="true"/>
Save this file as a jsp. As for using SSI directives such as <!--#echo var..., these are parsed by the Apache server in your .shtml files. So once you rename this file with a .jsp extension, they will work no more. Check out the servlet and jsp specification at http://java.sun.com/products/servlet/download.html http://java.sun.com/products/jsp/download.html Hope this helps. Thanks. RS asif ali <[EMAIL PROTECTED]> on 01/28/2002 07:23:10 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: How to use ssi for servlet Hi, I would like to know, how to use ssi with servlet. Here is the content of my shtml file ..... <servlet>code="Hello.class"</servlet> <!--#echo var="DATE_GMT"--> ........ But Tomcat4.0 seems to be ignoring the servlet tag. Although it parse simple ssi command "<!--#echo var="DATE_GMT"-->" . Thanks __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>