Another little question. :D

if the action is label is defined in the form, and in the action bean in
struts.xml, the method propertie is defined, it's necessary to declare it
also in the submit method?

Something like this:

<form action="updateAction" ..>
   <s:submit cssClass="button" method="update" key="button.save"/>
</form>

<action name="updateAction" class="..." method="update">
   <result>...</result>
</action>

I believe i could use only:

<s:submit cssClass="button" key="button.save"/>

is this wrong? or the method in submit is not used to call a method in
action?

Greetings.
-- 
View this message in context: 
http://appfuse.547863.n4.nabble.com/Struts-2-Double-Submit-tp562459p2130270.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to