Pass AccountId(?) to the next Action and then retrieve the AccountInfo object 
again based on that id.Now, you can pass it to the jsp for display and put it 
in session if you so desire.

-----Original Message-----
From: priya [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 11:05 AM
To: Struts Users Mailing List
Subject: Re: Newbie question about using beans in html:link tags


My search returns multiple rows (as seen in the for loop).. How can I
possibly have a session when I dont know what link the user is going to
click?

On 11/29/06, Asthana, Rahul <[EMAIL PROTECTED]> wrote:
>
> Priya,
> As a short term solution you can create a new tag,as in myLibrary:link
> which derives from html:link and knows how to deal with AccountInfo bean.
> But if I may,I would suggest rethinking the architecture of your
> application, as in maintaining the AccountInfo object in session instead of
> passing it through URL encoding.
> Cheers
> Rahul
>
>

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

Reply via email to