It's not a secret anymore!
The moose likes Struts and the fly likes html:button underline Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:button underline" Watch "html:button underline" New topic

html:button underline

Manoj Amrutkar
Ranch Hand

Joined: Apr 15, 2006
Posts: 47
<BUTTON accesskey="r" name="myButton" type="reset"><U>R</U>eset</BUTTON>

can i achieve with html:button of struts...

thanks in advance.

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I played around with it a little, and wasn't able to get it to work with <html:buttton>. It seems to show the <u> and </u> as literals rather than creating an underline. Using the <html:button> tag as opposed to the <BUTTON> tag doesn't really buy you anything, though. If you want an ActionForm property to be populated when the button is pressed, just make sure the name attribute of the button matches one of your ActionForm properties.

P.S. In the future, please don't post a follow-up question as a separate thread. Use the "Post Reply" button on the same thread.
[ May 24, 2006: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
I agree. Here's the link:
subject: html:button underline
It's not a secret anymore!