snafu, <bean:write name="error"/> seems to work... On Wed, Jan 21, 2004 at 02:34:18PM -0600, [EMAIL PROTECTED] wrote: > I am having trouble accessing messages from a resource bundle when form > validation fails. > > In a jar file under the WEB-INF/lib directory I have the following: > > net/neospire/extranet/resources/Application.properties > > inside the properties file I have the following: > > errors.required={0} is required > > and in my struts-config.xml I have: > > <message-resources > parameter="net.neospire.extranet.resources.Application"/> > > however when I do the following in a JSP: > > <logic:messagesPresent> > <html:messages id="error"> > <c:out value="${error}"/><br/> > </html:messages> > </logic:messagesPresent> > > I just get "${error}" output once for each required field left blank > instead of the message from the resource bundle. > > -- > Sean Bruton <[EMAIL PROTECTED]> > Senior Engineer Network Services > NeoSpire, Inc. www.neospire.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Sean Bruton <[EMAIL PROTECTED]> Senior Engineer Network Services NeoSpire, Inc. www.neospire.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]