On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Ok, today is apparently the day I get to ask a bunch of stupid questions... > > > > Why doesn't this work? > > > > <html:submit styleClass="cssButton" value="<fmt:message > > key="labels.loginButton" />" /> > > You can't use a JSP tag as attribute of another JSP tag. > > Maybe try <c:set> with the fmt in the body, then use an expression for > the value of <html:submit>? <snip/>
fmt:message has a var/scope tuple for this purpose. -Rahul >Which implies the use of the Struts-EL > taglib, which you should be using if you're on Servlet 2.3/JSTL 1.0. > > If you haven't already, change the URI in <%@ taglib> and leave the > prefix as 'html'. > > -- > Wendy > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]