How to get Data Source in Zimlet

Hi All,

Can any one give me a way to get Data Source in Zimlet JSP file. Actually in source I found one file 'DbPool.java' there getConnection method I found. Using this method can I get the data source reference to connect database. And I found another issue, while trying to get current user-id using Account and Provisioning classes.

Even I tried to import pages with both ways as I found in previous threads like,
<&#37;%@ page import="com.zimbra.cs.db.*" %> and
%@ page import="com.zimbra.cs.account.Account" %>.

Do I need to change or add anything to access the mentioned classes. While trying access the mentioned classes I'm getting below errors. Please give me an answer to come out from this problem.