reading data from struts-config.xml 2007-01-12 - By Stanislav
Back 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: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|