If your bean list isn't a java.util.Map, you can create one on the fly in your JSP like so:
<jsp:useBean id="varName" class="java.util.HashMap"/> <c:set target="${varName}" property="param1" value="value1"/> <c:set target="${varName}" property="param2" value="value2"/>
where param1/2 are the names you want the parameters passed as in the query string, and value1/2 are the values (which can be populated with EL or as the text body of the c:set statement)
After doing this, the "name" attribute to html:link would simply be "varName" - which, of course, you can choose to be whatever you want.
Hope this helps! Brice
javen fang wrote:
I have a bean list that have two property id / name
code: ------------------------------------------------------
<html:link action="next.do" paramId="first" paramName="list" paramProperty="id"> next action </html:link>
------------------------------------------------------
And how can I pass the second parameter name after the action next.do?? Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]