Gurcharan, This can be done if you are using Ant for building your application. Define custom values as place holders and in ant script replace these values with real one depends upon environment. Ant has its own task to replace it.
Joined: Dec 21, 2002
David Newton wrote:Custom constants for what? If you want to allow user value changes keep them in a database.
I'm not sure how this is related to Struts yet.
This is my first app with Struts. In past I'd worked with different framework in other programming languages, like, DJango where we can define different settings files and based on our installation (Dev, Prod) we used to refer the specific settings. So I was exploring do Struts provide this kind of freedom.