wood burning stoves*
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
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: 19651
    
  18

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: page redirection problem
 
Similar Threads
Edit inserted data, servlet
Unable to insert values in database
Unable to delete inserted data....
Unable to Retrieve values