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 trying to use this results object in otherPage.jsp. but it
returns null.

Object results = request.getAttribute("results");

i.e. the results Object mentioned above is null.

Do i need to do anything with the scope of the bean.
Or am i accessing it in an incorrect way?

I am using <html:link> tags to create links from resultsPage.jsp

--
Puneet

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

Reply via email to