Menu
Hello,
In a Struts2 form I have something like this:
[CODE]
<s:form action=”myForm_view” name=”MyForm” >
<s:textfield name=”searchPhrase”/>
…..
</s:form>
When something is entered in textfield and you hit enter key, the form submits to myForm_view.action. How do I add a parameter to the action in this case? I need something like myForm_view.action?arg=1.
Please help. Thanks in advance.