I am using following code to creating connection pool.
Now i want to know that when i am using the same code in a simple class and compile it in jdk 1.3 version. i am getting compiler error.While when usingthe same code in a jsp page and executing that page in a web serveror application server it is working fine.
So can anybody please explain me what is happening??