Hi, I have two submit buttons on a JSP and want to be able to set the particular button the was presses and display it on the next page. This is what have so far: <html:submit value="Modify" disabled="true" property="Modify">Modify</html:submit> <html:submit value="Add" disabled="false" property="Add">Add New</html:submit>
I tried creating form bean attributes namded "modify" and "add", but those do not seem to be getting set with the value of the button presses. Any ideas?
posted 10 years ago
Why can't you use the same property for both the Button.Then you have a property in the form in which you will be able to get the value of the form.