All,

Quick question with S2 tags using <s:url>. Have the following:

<input type="button" onclick="location.href='<s:url 
action="editAction"><s:param name="method" value="add"/></s:url>'"
Value="Add"/>

When viewing the page source after rendering should it not read: 
location.href='editAction.do?method=add' ?

Or is my understanding of the param tag incorrect and in this case do you need 
explicitly do location.href='<s:url action="editAction"/>?method=add'

Thanks in advance!

Regards,
Paul

Reply via email to