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 servlet context ?
What are the parameters of the service method ?
Explain jsessionid and when is it created?
What type of protocols are used in HttpServlet?
Can servlet have a constructor ?
How do you define a servlet?
How a servlet is unloaded?
What is the difference in between the httpservlet and generic servlet?
How servlet is created?
Write a program to show the functionality of servlets.
Is it possible to send a mail from a servlet? Explain?
Explain how to improve Servlet Performance?