Hi all,
I want send parameter in form struts2 . I try using code below:
HELP !<s:form action="Update" > <s:param name="action" value="submitEdit">action</s:param> <table> <tr> <td> <s:hidden name="objUser.id" value="%{#application.id}" ></s:hidden> <s:textfield name="objUser.name" value="%{#application.name}" label="Name"></s:textfield> </td> </tr> <tr> <td> <s:textfield name="objUser.age" value="%{#application.age}" label="Age"></s:textfield> </td> </tr> <tr> <td colspan="2"> <s:submit value="Update"> </s:submit> </td> </tr>