SHTML in Tomcat - How do I use it?
843840Dec 3 2002 — edited Dec 4 2002I am trying to use *.shtml in Tomcat 4.1.12 and I have no success doing it. My question is: Does Tomcat 4.1.12 have SHTML Support. If so, how do I use it.
I did the following.
I created a main.shtml file with the following code inside my HTML tags
<servlet code="MyManagement" codebase="../servlet">
</servlet>
I wanted to call my Servlet - MyManagement from the SHTMP page. I placed my main.shtml page in Tomcat4.1/webapps/mymanagement/servlets and I have my Servlet at Tomcat4.1/webapps/mymanagement/WEB-INF/classes
I am able to access my MyManagement Servlet from http://localhost:8080/mymanagement/servlet/MyManagement but I am not able to get it through the SHTML page. I also tried the following with no luck.
<servlet code="http://localhost:8080/mymanagement/servlet/MyManagement">
</servlet>
Any suggestion provided here will be greatly appreciated.