Here's an example where I make a URL with two parameters, 'action' and
'accountId'.

'account' is a pageContext-scoped variable put on the page by the
logic:iterate tag.

       <%
          HashMap editParams = new HashMap();
          editParams.put("action", "prepareEditForm");
          editParams.put("accountId",
String.valueOf(((Account)account).getAccountId()));
          pageContext.setAttribute("editParams", editParams);
        %>

        <html:link action="/editAccountForm.do" name="editParams">
          <bean:write name="account" property="systemName" />
        </html:link>


Giampiero De Ciantis wrote:

> I am trying to use an <html:link> item to submit some data, but I need to
> send the value of 2 parameters. How do I assign multiple parameters within
> an <html:link> tag?
>
>
>
> Thanks
>
>
>
> -Gp


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

Reply via email to