• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 error. Can't find resource?

 
Parka Teoh
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What this has to do with JDBC is beyond me so I'm shuffling this along to the Servlets forum.
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Did you try these,

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

Cheers,
Swamy
 
Parka Teoh
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic