i need connection pooling code.....from
harpreet.your@gmail.com
Answer Posted / 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 |
Post New Answer View All Answers
What is a servlet-to-servlet communcation?
How do you load an image in a Servlet?
Differentiate between the web server and application server?
How to get the current httpsession object?
What's the difference between authentication and authorization?
Difference between GET and POST?
How can we perform any action at the time of deploying the project?
What do you mean by cgi in servlet?
How to get the IP address of client in servlet?
How can the session in servlet be destroyed?
Explain the servlet filter.
How do you deal property files in servlet?
How do we go with database connection and log4j integration in servlet?
What is the difference between jsp and servlet life cycle?
What is string tokenizer?