Man! That was pretty dumb of me! Thanks, Mike. Too many antihistamines
for this confounded cold this morning....
Mark
----- Original Message -----
From: "Mike Abney" <[EMAIL PROTECTED]>
Sent: Friday, December 28, 2001 10:23 AM
> No, but I'm guessing that UserBean is the name of your class and not an
> instance of the class. Your code should read more like this:
>
> UserBean aBean;
>
> // ... something that initializes aBean ...
>
> try {
> // ...
> aBean.setLastAccess( rs.getString( "lastaccess" ));
> // ...
> }
>
> The class name being before the dot (in your original code) makes the
> "static context" and your "setLastAccess" method was definitely not
defined
> as static.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html