Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

page redirection problem  RSS feed

 
rajnish patel
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also tell me if further code is needed
I'll provide.........
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!