It's rather not possible in general, The .war is supposed to be a
'complete' application, config included. If you load the ressources
using the classloader, you can still use 'tricks' that depend on
container specific behaviour, but that is not recommanded.
The best way if you want your user not to have to play thmeself with
.war content is to provide a ant script that will take a config/
directory and inject it in the .war, so the user easily regenerate the
war avec config change.
Pankaj Gupta wrote:
---------- Forwarded message ----------
From: Pankaj Gupta <[EMAIL PROTECTED]>
Date: Jun 28, 2006 11:03 AM
Subject: [OT] How to specify classpath for an application
To: user@struts.apache.org
Hi All,
I want to specify a config folder in my classpath which will not be
part of
my war file. Can you please suggest how can I do that? I want to place my
config files outside the war file for anyone to modify it.
regards,
Pankaj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]