Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:button underline

 
Manoj Amrutkar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<BUTTON accesskey="r" name="myButton" type="reset"><U>R</U>eset</BUTTON>

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

thanks in advance.

Manoj
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic