GeeCON Prague 2014*
The moose likes Servlets and the fly likes my First Logon Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "my First Logon Page" Watch "my First Logon Page" New topic
Author

my First Logon Page

Eric Belec
Greenhorn

Joined: Nov 29, 2007
Posts: 12
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

Joined: Jan 01, 2009
Posts: 874


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
 
GeeCON Prague 2014
 
subject: my First Logon Page