Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SHTML in Tomcat - How do I use it?

843840Dec 3 2002 — edited Dec 4 2002
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2003
Added on Dec 3 2002
2 comments
248 views