struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <n...@JAMMConsulting.com>
Subject RE: [S2] How to apply formatting to s:property?
Date Thu, 02 Aug 2007 17:05:44 GMT
Dave:

Arrgh.  I just figured it out.

I need to set the constant to the name of
the file *without* the .properties extension.

So, in struts.xml, I put this:

<constant name="struts.custom.i18n.resources" value="application"/>

and it loads application.properties just fine.

Thank you for your help on this.

Thanks,
	Neil


--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com] 
Sent: Thursday, August 02, 2007 10:55 AM
To: Struts Users Mailing List
Subject: RE: [S2] How to apply formatting to s:property?

I'm not sure why the global resources property setting
doesn't work, although I would suspect a property file
naming / location / packaging issue. Comments on
https://issues.apache.org/struts/browse/WW-1647
suggests that it works.

d.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message