> I need to load file dynamically, because properties file must be
> located outside /WEB-INF dir. Is there any way to obtain that?
In that case, I'd recommend taking a look at Struts' resource loading code
and make sure you're doing the equivalent.
L.
OK, thanks.
Andy
-
Andrzej Bengner | e-direct Polska Sp. z o.o. wrote:
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
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
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?
Hello
I can not load MessageResources from my custom file path. I can load for
taglib, but how can I do with ?
For example, here is my Struts action snippet:
URL[] urls = new URL[1];
try
{
urls[0] = new URL("file:c:/my_dir/messages/");
}
catch (MalformedURLException e)
{
log.err
5 matches
Mail list logo