This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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.