pls any one tell "how to create submit button" in struts i am new to struts...pls give detail answer
A:
Using the s:submit tag is all you really need to do.
For example, let's say you have a form that will submit a simple textfield value into a variable in your action called "name":
<s:form action="MyAction">
<s:textfield name="name" label="Name" required="true"/>
<s:submit value="Click Here to Submit"/>
</s:form>
Hope this helps!
Johnny Wey
2010-01-27 23:18:12
thanks for your help..it works
Niru...
2010-02-03 07:39:21
You should click the "answered" link :)
Johnny Wey
2010-02-03 21:07:35