Yes! inside <data-sources> and then inside <data-source type="org.apache.commons.dbcp.BasicDataSource">
From: "Nuwan Chandrasoma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: reading data from struts-config.xml Date: Fri, 12 Jan 2007 15:04:36 -0000 ----- Original Message Follows ----- > Hi, > > Where have you specified this property?.. inside <data-source> in > struts-config.xml or some where else? > > Thanks, > > Nuwan > > ----- Original Message ----- > From: "Stanislav" <[EMAIL PROTECTED]> > To: <user@struts.apache.org> > Sent: Friday, January 12, 2007 9:11 AM > Subject: reading data from struts-config.xml > > > > Hi! > > > > In struts-config.xml i defined database connection settings. Partuculary > > database name. > > > > code: > > <set-property property="url" > > value="jdbc:microsoft:sqlserver://xxx.xxx.xxx.xxx:1433;DatabaseName=SomeName_test > > ;SelectMethod=Cursor" /> > > > > Is there any to detect database name in Action class? I want to check db > > name, and if it's test db > > to put some information in .jsp. > > > > Tnx in advance, > > Stanislav > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]