Hi I am new to servlet and Tomcat. I am trying to do the SSI CurrentTime simple sample. Tomcat 5.0.19 release note says that if I uncomment the SSI related details in the web.xml, SSI should work. The shtml file ran with no error but does not seem to acknowledge the servlet. I went to the servlet direct on the url and I could see the servlet fine. So my guess is that the shtml side is not working. I have looked on the web for answers however most similar questions dealt with earlier versions of Tomcat which do not support SSI. Any ideas? Thanks! Rob
Yes, I did. As well as uncommenting the SSI related nodes in the Tomcat home/conf/web.xml, I also tried to move these nodes to my working folder's web.xml and neither worked.
I have also tried adding codebase in my shtml : <servlet codebase="/ap1/WEB-INF/classes" code="CurrentTime.class"> and still doesn't work. Any ideas? Thanks!
I think tomcat is not picking up the <servlet> tag in the shtml and I don't know why. I found this because the shtml continue to display the page without invoking the (SSI) servlet. Pls help.