File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes page redirection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "page redirection problem" Watch "page redirection problem" New topic

page redirection problem

rajnish patel
Ranch Hand

Joined: May 23, 2013
Posts: 55
Hi all,
I have first time coded jdbc application using javabeans. Login page authentication works successfulyy but I want to retrieve the data and its not working.
So error must be in view.jsp or page..
can any one please see it!!

Hereby I've attached the code...


and error is,

rajnish patel
Ranch Hand

Joined: May 23, 2013
Posts: 55
Also tell me if further code is needed
I'll provide.........
Rob Spoor

Joined: Oct 27, 2005
Posts: 19847

rajnish patel wrote:web.xml

I see two problems with that:
1) servlet-class "view" cannot be found. That's what your exception is explicitly telling you.
2) servlet-class "bean.view" is not a servlet. You can't make something a servlet just by putting it as a servlet in web.xml. It must implement Servlet, often by extending HttpServlet.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: page redirection problem