Correct. Just to expand on it a bit for Puneet... the request that you
set the attribute on is the request for resultsPage.jsp. That is the
final resource the server returns for that request. Once it is
returned, that request is destroyed. A link on that page represents a
whole new request, he
hnology"
(2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
-Original Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 5:19 PM
To: user@struts.apach
As I know u cant access this object
Better way put it in session scope or regenerate it
Else see if you can hidden property in jsp
-Original Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 5:19 PM
To: user@struts.apache.org
Subject: Bean Scope Problem
Hi,
I have an action that creates an attribute like this
request.setAttribute("results", resultObject);
Now this action then forwards to a page (say resultsPage.jsp) which does
some processing with this object.
This resultsPage then has links that calls another page(say otherPage.jsp)
Now iam t
4 matches
Mail list logo