html - Determining what button was clicked on form submit -


i need mage decision im spring mvc3 controller based on button clicked on submit form. have idea how this, im not sure if best way.

i use javascript save parameter hidden field , have posted controller on submit , have parameter in formbean.

it seems me little cumbersome. there better way? can somehow figure out request button clicked? note dont want use ajax.

only submit button used submit form successful control.

so check submitted value associated name used submit buttons.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -