This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "page redirection problem" Watch "page redirection problem" New topic
Author

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 view.java page..
can any one please see it!!

Hereby I've attached the code...
view.java



view.jsp



and error is,





web.xml
rajnish patel
Ranch Hand

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

Joined: Oct 27, 2005
Posts: 19723
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: page redirection problem