File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlet not found error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet not found error " Watch "servlet not found error " New topic

servlet not found error

santhoshvg kumar mdab

Joined: Oct 16, 2007
Posts: 1
HTTP Status 404 - Servlet Santhu is not available


type Status report

message Servlet Santhu is not available

description The requested resource (Servlet Santhu is not available) is not available.


please help me in this error
I am new to servlets


Santhosh<br />Bangalore,Karnataka
gianni ipez
Ranch Hand

Joined: Jan 02, 2007
Posts: 65
I suggest you of reading a book for learning servlet.
The problem you are experiencing should get resolved just after reading the first chapters.
If you're not in the condition of spending time, or today is the last day you'll see a servlet in your life, then check this thread:
yesterday beginner thread
the answer is in the web.xml file.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

We will need a lot more information from you before we could give you any help with this.

Post your deployment descriptor (web.xml file).
Post your servlet's code.
Tell us exactly where your servlet's class file is located.
Post the URL that you're using when trying to access your servlet.

Without all of that, people here can only make guesses.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
prakash chauhan
Ranch Hand

Joined: Jun 22, 2007
Posts: 81
The most likely chances are that the ".class" file is not under the
WEB-INF/classes folder , check to make sure its located there.
Gobinath Manoj

Joined: Oct 17, 2007
Posts: 11

If you use the jsp to submit the form means check your form tag

<form action="servlet_name" method=""post>

some codes here

And check your web.xml file config


<servlet name>submit</ser>


Please Refer HeadFirst Servlet & JSP

Thanks Regards <br />Gobinath.L
I agree. Here's the link:
subject: servlet not found error
It's not a secret anymore!