I don't see you instantiating parmUserid or parmPW, but it would appear
that is where the problem lies.

Is there a specific line that you can attribute the NPE to?

Lance

> Can anybody give me a clue as to why I am getting null pointer
exceptions
> when I access userID, password, or minit from a JSP page but not fname,
> lname or accesslevel?
>
> while( rs.next()) {
>     String id = rs.getString( 1);  file://get userID (email address)
>     String pw = rs.getString( 2);  file://get password
>
>     if( parmUserid.equalsIgnoreCase( id) &&
armPW.equalsIgnoreCase( pw))

___________________________________________________________________________
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

Reply via email to