You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ajTreece <aj...@sun.com> on 2002/04/29 23:51:45 UTC
session parameter values
This should be fairly simple, but for some reason I can't get it to work.
In my LogonAction servlet, after a valid login, I set some session parameters
with your basic method like session.getAttribute("UserName");.
Now from my jsp I want to display the value of that parameter. I assume that you
would use a <bean:write name="name" scope="session" parameter="UserName"/>. The
challenge is I can not figure out what name="" should be. No matter what I try I
get the following error:
[ServletException in:/common/userPortals/userData.jsp] Cannot find bean XXX in
scope session'
What id the correct name to use for session values?
Thanks, ajTreece
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>