servlets not running in tomcat


   I am working on tomcat for the first time.I have made some servlets,jsps & html files which i want to deploy on tomcat(on win 2003).
   I have made a test folder under webapps folder.In test folder i have made WEB-INF folder. In WEB-INF folder , I have made 2 folders ....   classes and lib. I have put all my jsps and htmls files in test folder and  servlets in classes folder. I have made a web.xml file also in WEB-INF folder .  have added  the follwoing line in  /conf/server.xml file

       <Context path="/test" docBase="test" debug="0" reloadable="true" />
The contents of web.xml file are

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"



though i read that one does not need add <servlet> tag if the servlets are without initialisation parameters which my case is.

I have also uncommented the lines swithced on the invoker servlet feature in /conf/web.xml

Still my servlets are not running. jsps and html file are running fine.

HTTP Status 404 - /test/login
type Status report
message /test/login
description The requested resource (/test/login) is not available.

Above error comes.

Any help
Thanks in advance

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


add thid to ur web.xml


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Application Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.