I am trying to deploy a servlet. It showing HTTPStatus404 error. type Status report message /EmailList/ description The requested resource (/EmailList/) is not available.
I created EmailList folder in webapps folder. index.html file in EmailList folder and List.class file in WEB-INF/classes folder
Two issues: 1.) You've spelled your servlet-name "ListDisplayt" (note the 't' at the end). 2.) Your url-pattern is /simpleServlet. Is that what you are using when you try to access your servlet?
Also, you're starting off on a bad foot by not packaging all of your Java class names. You might be able to get this servlet working without it being packaged but as soon as you start adding beans to your project, things are going to blow up on you.
The default package (no explicit package name) is for trivial command line apps, not web applications.
The URL in the form's action attribute is not necessarily wrong. It just doesn't match the URL given in the error message. I'm wondering if you're either editing the wrong file or if you're not giving us the the most up to date information.
In order to get that error message, the URL in the form's action attribute would have to be "/EmailList/simpleServlet" or "/simpleServlet".
Either that or your HTML page is in webapps/ROOT/EmailList instead of being in webapps/EmailList.
Something on your server isn't matching what you're posting here. [ January 17, 2008: Message edited by: Ben Souther ]