struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart" <lukasz.len...@googlemail.com>
Subject Re: Multiple submit buttons in a single JSP
Date Thu, 07 Feb 2008 13:46:31 GMT
Hi,

You can use
<s:submit value="Save" method="save"/>
<s:submit value="Update" method="update"/>
<s:submit value="Show" method="show"/>

and Action class with three methods, the same like execute()

http://struts.apache.org/2.x/docs/submit.html


Regards
--
Lukasz

http://www.linkedin.com/in/lukaszlenart

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message