This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: my First Logon Page
 
Similar Threads
JDBC connection using bean
The value for the useBean class attribute is invalid.
Error in JSP when using bean concept
JSP can not load class
Error is [Microsoft][ODBC SQL Server Driver]Connection is busy