aspose file tools*
The moose likes Servlets and the fly likes 404 error. Can't find resource? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "404 error. Can Watch "404 error. Can New topic
Author

404 error. Can't find resource?

Parka Teoh
Ranch Hand

Joined: Aug 28, 2004
Posts: 40
I'm using Tomcat 5. Java SDK 1.4.2

I have a Query input html form and a processing servlet for the form.



When I hit Enter, I get a 404 error saying that "/jdbc/servlet/coreservlets.NorthwindServlet" is not found. I've already included in my web.xml of this path.

What might I have missed?
[ September 22, 2004: Message edited by: Parka Teoh ]

Do you have a parka?<br /> <br /><a href="http://sg.geocities.com/inschooool" target="_blank" rel="nofollow">Visit my homepage</a> | <a href="http://parka.deviantart.com/" target="_blank" rel="nofollow">Parka Deviantart gallery</a>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61661
    
  67

What this has to do with JDBC is beyond me so I'm shuffling this along to the Servlets forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
Hi Parka,

Did u try shutting your server down and restarting it?

And also ensure that you .class file is placed in the directory towhich u r refering.

Cheers,
Swamy.
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
Hi,

Did you try these,

1. Is there any empty service method?
2. Try packaging ur servlet.

Cheers,
Swamy
Parka Teoh
Ranch Hand

Joined: Aug 28, 2004
Posts: 40
The service method is not empty. And I've put the servlet in the correct package in the correct class.

I've also repackaged the servlet. But still doesn't work.

I got the code from a textbook's CD, so can't think of what other things that could go wrong.

Here's the code.

 
Consider Paul's rocket mass heater.
 
subject: 404 error. Can't find resource?