Alternatively, you can stick with html:link but supply your parameters
as a map:
<html:link action="..." name="myParamMap"
or
<html:link action="..." name="myBeanMap" property="myParamMap"
See the documentation for the html:link tag for more details:
http://struts.apache.org/1.2.9/userGuide/struts-html.html#link
L.
Andrè Kapp (AJ) wrote:
You can use this type of link
href='<c:url value="/mailMemberAction.do?exec=updateValidMailMember"
context="/xxxxxxxxxxxxx"> // put your app name here to keep context
<c:param name="masterGroupName"
value="${groups.masterGroupName}"/>
<c:param name="listName"
value="${groups.listName}"/>
<c:param name="memberName"
value="${groups.memberName}"/>
</c:url>'>
Andre
-----Original Message-----
From: Sheetal Gupta [mailto:[EMAIL PROTECTED]
Sent: 14 September 2006 02:20 PM
To: Struts Users Mailing List
Subject: Hpw to pass multiple parameters in <html:link>
Hi,
Can anybody tell me how to pass multiple parameters in <html:link> I
tried the following snippet, <bean:define id="cmdExec" value=
"CmdExec" /> <tr> <td> <bean:define id="deviceType" value= "ACU" />
<html:link action="/dispatchBrowser.do" paramId="DeviceType"
paramName
="deviceType"
paramId="Module" paramName="cmdExec" target="showframe" >cmd</
html:link>
</td>
</tr>
:
but it don't work..
It is only giving value of "Module"
and not the "DeviceType"
Regards,
Sheetal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]