Hello,

Can anyone please tell me how to specify the username
and password for "<data-source" at the time a user
logs in, instead of hard coding as "ola" is hardcoded
below:
 
  <data-sources>
   <data-source
type="org.apache.commons.dbcp.BasicDataSource">
     <set-property property="driverClassName"
value="com.mysql.jdbc.Driver" />
     <set-property property="url"
value="jdbc:mysql://localhost/cargo" />
     <set-property property="username" value="ola" />
     <set-property property="password" value="ola" />
   </data-source>
  </data-sources>

If this is not possible, can you please tell an
alternative way of achieving this.

Thanks.

Ola.


        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to