wood burning stoves 2.0*
The moose likes Servlets and the fly likes problem with servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem with servlet?" Watch "problem with servlet?" New topic
Author

problem with servlet?

kanna prasanth
Greenhorn

Joined: Aug 20, 2008
Posts: 8
Hi,
please let me know, where can i find the <servlet-mapping> in web.xml

and how and where to attach it.(html to servlet problem).

please give me a brief explanation.
[ August 20, 2008: Message edited by: kanna prasanth ]
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Originally posted by kanna prasanth:
descriptionThe requested resource () is not available.


looks like missing the <servlet-mapping> in web.xml
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Originally posted by kanna prasanth:
Hi,
I am working with html to servlet.But when i am running the application
it shows below msg: (please help)

HTTP Status 404 -

------------------------------------------------------------------------

The status code 404 means the resource you requested aint found by server,

You have to copy paste your web.xml file with the link which you are requesting !


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Hi kanna prasanth welcome to Javaranch ,
Please use a descriptive subject line for your post, read this to know why.

descriptionThe requested resource () is not available.

What is the request URL ?


SCJP, SCWCD.
|Asking Good Questions|
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

where can i find the <servlet-mapping> in web.xml

You need to put one in that configuration file.

Please see the ServletsFaq for servlet basics.

And dont modify your original topic.Instead post your reply in the same thread for this topic.

Hope this helps
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: problem with servlet?
 
Similar Threads
Urgent -RequestDispatcher.include and forward
how to read file which is on client machine
Servlet Called From Javascript
Remote user IP Address
Servlet Chaining