Thanks Nate! I overlooked that! This does work! <s:set var="myDataList" value="{'1', '2', '3'}" />
<s:url action="myurl" var="myUrl" escapeAmp="false"> <s:param name="myData" value="%{#myDataList}" /> </s:url> Matt On Wednesday, October 30, 2024 at 10:01:05 AM CDT, Nate Kerkhofs <nate.kerkh...@ikan.be> wrote: Hi Matt, Based on the documentation at https://struts.apache.org/tag-developers/url-tag, you shouldn't add each param as an individual child tag, but instead put them all into an Array or Iterable object and add that as the value for a single param child tag. Regards, Nate -----Original Message----- From: Matt Williams <mattwms1998...@yahoo.com.INVALID> Sent: Wednesday, 30 October 2024 15:52 To: user@struts.apache.org Subject: URL tag question I am using Struts 6.6.0, I am needing to generate a URL using the s:url tag that will pass a List of values (example: myurl.action?myData=1&myData=2&myData=3) I have: <s:url action="myurl" var="myUrl" escapeAmp="false"> <s:param name="myData">1</s:param> <s:param name="myData">2</s:param> <s:param name="myData">3</s:/param> </s:url> However, the generated URL only includes myData=3. Am I missing something? Thanks! Matt --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org