Guys,

I'm setting a session attribute in a helper class and returning it to the
controller servlet.  When I print out

out.println("session = " + session.getAttribute( "accesslevel").toString())

it returns "session = admin"

but when I do a logical test on

if (session.getAttribute( "accesslevel").toString().equalsIgnoreCase(
"admin"))

I get "false"

Any ideas?

Thanks,
Mark

This email scanned with Norton AntiVirus 2002

___________________________________________________________________________
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