You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Stephen Turner <st...@MIT.EDU> on 2001/11/28 20:44:09 UTC
Parameterizing Datasource URL
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
URL.
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>