how to add two submit buttons to a form in struts

T

Tim Slattery

how to add two submit buttons to a form in struts?

Just use the <html:submit.../> tag multiple times. Use different
"property" attributes in each tag. In your Action, if the property
associated with an <html:submit... /> tag is not null, then that's the
button that was clicked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top