I want the labels of my submit buttons be taken from the message resource file. However, I cannot nest <bean:message> inside another <html:submit > tag. I know I can use plain HTML code e.g. <input type=submit.. <bean:message...> > where the HTML are cosidered as plain template text. But, what would the best technique if I want to use <html:submit> to render the button?
here's something to consider though... why use html:submit or html:button? only makes sense if you are using LookupDispatchAction, but for simple forms, they buy you nothing more than the plain old 'input'. i am not making this argument for the rest of the form, just the buttons.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Thx. But, I checked the online documentation of struts. It seems that <html:submit> is not formally documented to accept a body. Although it seems working as what you advised!