Originally posted by Kim Kantola:
Thank you for your reply. I am actually interested in buttons which
when clicked will redirect the user to another jsp, not radio buttons. I
have googled html:button but didn't find much about non-radio buttons. Any
other tips very appreciated.
If you are not really allergic to a mix of JavaScript and struts-tag, then
it's possible like this.
This will allow you to fire form submission based on some dynamic
condition. If you need a simple link kind of effect (no form submission),
then, document.location="<html:rewrite ... />" can do the trick.
And then the place, wherever you require a button,
I use this to provide more than one Actions for a single form. Please note that Click, here, is intentionally misspelt to pass through the forum posting. It does not allow html codes.
HTH.
Thanks and regards,
Kinjal Sonpal