struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: html:link with params
Date Mon, 26 Jul 2004 23:28:13 GMT
Think of a case where you have a List of people and you wanted to 
create a link for each person.  I would have to create n# of Maps in 
the Action.  If it was done in something like a forEach loop this could 
be done all at once.  Not sure how good of an example this is :)

Nathan
On Jul 26, 2004, at 5:16 PM, Wendy Smoak wrote:

> From: "Nathan Maves" <Nathan.Maves@Sun.COM>
>> I know that we can use a Map to achieve this but I hate creating them
>> in a jsp.
>
> I'm puzzled... why would you create in the JSP instead of in the 
> Action,
> where presumably it wouldn't bother you as much?
>
> Not that that answers your question, but that part jumped out at me.
>
> -- 
> Wendy Smoak
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message