error in gettig servlet file from Tomcat5.0.28

Hi,

I am using Tomcat5.0.28. I have placed my .html inservlets-examples directory, my .class and .java files in/servlet/classes directory, web.xml in WEB-INF. I have given the url-pattern as"/servlet/MyServlet", but after i enter the data in html file, i get an exception as - " Servlet MyServlet is not available". I have also given the servlet and servlet mapping as specified in the examples in web.xml file.

If anyone can help me in this topic, plz give me some decription regarding the same.

[541 byte] By [tommya] at [2007-10-2 12:02:06]
# 1
The web container searches for class files in WEB-INF/classes and not in /servlet/classes. There is no need that a servlet directory within your web application context exists and .java files don't matter.
andiha at 2007-7-13 8:19:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...