Hi all,

I'm new to Struts 2 (and Struts in general), and I'm having a hard time 
figuring out how to handle the simple case of multiple buttons within a form.  
The method I'm trying to use is described in the Struts 2 cookbook here:  
http://struts.apache.org/2.x/docs/html-form-buttons-howto.html.

I've copied these verbatim (along with a small struts.xml to wire them up), and 
both button boolean fields always remain false.  Should this work?  I'm using 
Struts 2.0.11.  There's always the route of using Javascript to detect which 
button was clicked, but I'd rather avoid it if not necessary.  

I've also seen mention of a Struts LookupDispatcher or MapDispatcher.  Is there 
something similar in Struts 2?  

Thanks, any input is greatly appreciated!

Regards,
Jason



Reply via email to