You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kiran simhadri <ki...@oracle.com> on 2000/11/07 02:44:38 UTC
shtml file unable to recognise
hi,
I have a .shtml file on tomcat. It is not able to recognise <servlet>.
Is there any special configuration needed to make it work?
Any leads are welcome.
<html>
<body>
contents from servlet
<servlet name=DatePrintServlet></servlet>.
</body>
</html>
Thanks
kiran
kiran.simhadri@oracle.com
Oracle Corp
Re: shtml file unable to recognise
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
kiran simhadri wrote:
> hi,
> I have a .shtml file on tomcat. It is not able to recognise <servlet>.
> Is there any special configuration needed to make it work?
>
> Any leads are welcome.
>
> <html>
> <body>
> contents from servlet
> <servlet name=DatePrintServlet></servlet>.
> </body>
> </html>
>
> Thanks
> kiran
> kiran.simhadri@oracle.com
> Oracle Corp
Tomcat does not have any built-in support for the <servlet> tag. You might
want to look at making the above page a JSP page, then using <jsp:include>.
Craig McClanahan