You can't nest as you have shown. Here's an alternative: <bean:define id="foo"> <bean:message key="date.digit.format"/> </bean:define>
<bean:write name="hwa" property="placedOnHWATs" format="<%=foo%>"/> Sri > -----Original Message----- > From: Cohan, Sean [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 1:39 PM > To: Struts (E-mail) > Subject: bean:message > > > Is it possible to nest a <bean:message> tag within a > <bean:write> tag? I want to get the format property out of > the application.resources file, but I get an > jsp.error.unterminated.tag error. > > Here's how I'm trying to do it: > > <bean:write name="hwa" property="placedOnHWATs" <bean:message > key="date.digit.format"/> /> > > and in the resource file I have: > > date.digit.format=format="MM/dd/yyyy" > > > Thanks. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]