It might also work to do this: <html:submit styleClass="cssButton" value="<fmt:message key='labels.loginButton' />" />
Sometimes double quotes inside double quotes confuses the compiler. If you put single quotes inside the double quotes it might be able to better determine your meaning. Shawn -----Original Message----- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 2:43 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re: JSTL messages problem 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" />" /> I get... org.apache.jasper.JasperException: /index.jsp(36,83) equal symbol expected ...when I try it. <bean:message> doesn't work either... it's obviously a problem with embedding one taq in another, so I guess my quesion really is how does one label a submit button with a message from a bundle in general? I've done this in the past, but I've never tried it from within an <html:submit>, always a plain HTML <input> element, so it wasn't a nested custom tag. Thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, November 22, 2005 3:27 pm, Wendy Smoak said: > On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > >> I added this but it still didn't work... One thing that didn't make >> sense >> to me is that I have app_resources_en.properties in WEB-INF/classes, so >> I >> wasn't sure how to qualify that in a package structure, so I just put >> <param-value>app_resources.properties</param-value>... is that right or >> am >> I misunderstanding something? Thanks again! > > Leave off the '.properties' in the <param-value>. Other than that, yes. > > -- > Wendy > http://wiki.wsmoak.net/cgi-bin/wiki.pl?StrutsMessagesAndJSTL > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]