i need connection pooling code.....from
harpreet.your@gmail.com
Answer / nagababu
ic--->Reference of Context
DataSource ds=(DataSource)ic.lookUp("JNDI name");
Connection con=ds.getConnection();
con.close();
| Is This Answer Correct ? | 3 Yes | 0 No |
What is the ServletConfig() and what is its use?
How the JSP file will be executed on the Server side?
Why do we need servlet filter?
What is the procedure for initializing a servlet?
What do you mean by httpservlet?
How servlets can be automatically reloaded?
Difference between Include, Forward and sendRedirect in Servlet?
What are some advantages of storing session state in cookies?
Can I override destroy() method of Servlets?
Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?
how the HTML data stored in web server?
How do you configure a centralized error handler in servlets?