Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

my First Logon Page

 
Eric Belec
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm doing my first attempt at creating a logon page. My main objective is to check the Microsoft Access DB for user credentials. But the thing is, I'm not even at this point yet because I can't load my DBBean. The error is

ProcessLogon(6).jsp: The value for the useBean class attribute DBClientBean is invalid.


Any ideas what might be causing this problem?


My pathetic code is below.
I have the Logon.jsp Page.. just a form with 2 fields


This data gets sent to the ProcessLogon.jsp



And the ProcessLogon.jsp page will be using this bean (eventually when I can get it to work)



Any ideas why I'm getting the error listed above? Must I include a (value="") inside my usebean tag??


 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Eric,

DBClientBean should be valid Java Bean to be used in jsp:usebean.
1) No argument empty construtor
2) setter and getter methods following bean standards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic