aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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: 2718
    
    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: 2718
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with servlet?