Thanks for that!

Jim

-----Original Message-----
From: Joe Germuska [mailto:[EMAIL PROTECTED]]
Sent: 12 June 2002 18:02
To: Struts Users Mailing List
Subject: Re: Please help with simple problem


The original request goes out of scope when you load the frameset 
(the success mapping).  Each of the subsequent frames is loaded with 
a new request.  You'll have to pass it in the session.  If that feels 
like you're polluting the session, you can use "removeAttribute" in a 
JSP...

Joe

At 6:06 PM +0100 2002/06/12, Jim Clayson wrote:
>Hi,
>
>1.    I have a Struts action class, "LoginAction" which extends Action.
>2.    I set an attribute on the request inside the perform method like
this:
>     request.setAttribute("test", "sometxt");
>3.    The success mapping goes to a jsp page which consists of frames.
>4.    I am trying to access this request attribute in  one of the frame
jsps
>but when I use jsp scripting to list the request attributes, there is no
>"test" in the list!
>
>If I store the same in the session as an attribute, I can access it through
>'request.getSession().getAttribute("test");'.
>
>My "LoginAction" class is defined with a formbean in session scope but as
>far as I know this should have nothing to do with manually storing and
>retrieving request attributes.
>
>Any clues?
>
>Thanks
>Jim


-- 
--
* Joe Germuska    { [EMAIL PROTECTED] }
"It's pitiful, sometimes, if they've got it bad. Their eyes get 
glazed, they go white, their hands tremble.... As I watch them I 
often feel that a dope peddler is a gentleman compared with the man 
who sells records."
        --Sam Goody, 1956
tune in posse radio: <http://www.live365.com/stations/289268>

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

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

Reply via email to