I've written some HTML in the SERVLET using out.println(). I have included this CLASS (UserList.class) file in my SHTML page, say index.shtml using the Servlet Tag e.g
<servlet code="UserList" codebase="http://localhost:8080/userinfo/servlet/UserList"></servlet>

but when I access index.shtml the code or html written in servlet class doesn't print. but when I access servlet class directly then the html written in servlet class prints in browser without any problem.

I'm running Tomcat 3.2 on WinXP Professional.

Any help or suggestions are very welcome.

Thank you