struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Turner <stur...@MIT.EDU>
Subject Parameterizing Datasource URL
Date Wed, 28 Nov 2001 19:44:09 GMT

This may turn out to be an XML question rather than a struts
question, but here goes...

I have a data source defined in struts-config.xml, including
database URL. This has worked fine so far on my development machine,
but now I want to deploy my application to a different (production)
server with a different database URL. I'd like to use the same
struts-config.xml file on each machine, so I don't want to hard-code the

So is there any way I can parameterize the database URL, so that it's
not hard-coded in the config file?

Thanks for any ideas.
Steve Turner

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message