Hello, how can i achieve building a dynamic url with dynamic parameters with struts tags in a jsp? My try looks like this: I iterate over a list of available operations. Every operation has a hashtable "params" which contains its http parameters, such as id=4 or detail=true, etc.
<s:iterator value="availableOperations" status="status"> <s:url action="%{targetAction}" id="url"> <s:iterator value="params" status="status2"> <s:param name="%{key}" value="%{value}" /> </s:iterator> </s:url> <s:a href="%{url}"><s:property value="shortName" escapeHtml="false" /></s:a> </s:iterator> The link gets generated with the targetAction but without any parameters... Can anyone help me? Regards Johannes