its those damn code completion widgets.. i swear..!!

as my school motto used to say in scotland.. "wusnae me!!"


"Wendy Smoak" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jamesey wrote:
> > I have an action declared as scope=request
> > i perform request.getSession().setAttribute("blah",object)
> > i have debug to list all attribute names in my action class (and the
> "blah")
> > appears in the log.
> > i have debug in my jsp to list the request.getAttributeNames().. and the
> > "blah" object has vanished..
>
> Just a typo?  You're putting the object in session scope, and then listing
> the request attributes, not the session attributes.
>
> Try:
> request.getSession().getAttributeNames()
>         ^^^^^^^^^^^^^
> --
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University PA Information Resources Management
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to