Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

servlet not found error

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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



Regards
Santhosh
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
ciao,
gianni
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The most likely chances are that the ".class" file is not under the
WEB-INF/classes folder , check to make sure its located there.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

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

some codes here
--
</form>


And check your web.xml file config

<servlet-mapping>

<servlet name>submit</ser>
<url-pattern>/submit</url-pa>

</servlet-mapping>

Please Refer HeadFirst Servlet & JSP
 
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic