Hello All,

I am trying to connect to the database but when I do

DataSource dataSource =
(DataSource)servlet.getServletContext().getAttribute(Action.DATA_SOURCE_KEY)
;

it gives me null as the dataSource value. Can anybody help me out here?
Thanks.

Ying


Reply via email to