Hi all,
 
I defined my datasource and deployed it. Now I need get username and password information from my servlet.
 
I get Datasource instance but I don't know how get information on it.
 
....
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("java:/myDS");
....
 
Can you help me, please?
 
Luca