File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Consider Paul's rocket mass heater.
subject: html:button underline
Similar Threads
message resources with buttons?
"enter key" button focus ?
org.apache.jasper.JasperException (STRUTS 1)
can i have an underline to html:button value
Usage of Struts tags