Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

RE: Load MessageResource from custom file path

Andrzej Bengner

2007-02-28

Replies:

The ususal way to expose resource bundles for use with Struts1 is to include
the properties files in the webapp's classpath, configure them in
struts-config.xml and let Struts deal with loading them. Is there a reason
you need to store the files external to the webapp and load them manually?

Thanx.
I need to load file dynamically, because properties file must be located
outside /WEB-INF dir. Is there any way to obtain that?

Regards,
Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.