how to run a servlet in apache tomcat or j2ee app server

hi everyone,

i am stuck up with how to run a servlet and access .

The servlet i have written is the simplest which just produces a html page. I went through the documentation for how to run in tomcat. It told we have to place it in

<installfolder>/webapps/ROOT/WEB-INF/classes.But I found only lib and web.xml file in this folder. So I created the folder classes in this and place the servlet files. But when i tried to access the servlet on the browser it showed resource not available.

I then created a servlet application in j2ee application server and tried to run another servlet. but here also no solution.

someone please help

thanks in advance.

[702 byte] By [ccubed2k4a] at [2007-11-26 18:05:23]
# 1
- Maybe you didn't setup Servlet information in Web.xml?There are 2 parts in Web.xml you have to setup1. Declare servlet information by servlet tag2. Delare servlet mapping.
lochdsmilea at 2007-7-9 5:35:59 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...