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
Which method is called when reference variable is passed in system.net?
What do you mean by request dispatcher in servlet? Also explain its methods.
Whats the advantages using servlets over using CGI?
Explain the concept of ssi ?
What are the important functions of filters?
The code in a finally clause will never fail to execute, right?
What do you mean by scope object and what are its types?
What are the life cycle methods of a servlet?
What is the dispatcher servlet?
Explain the working of service() method of a servlet.
Write a program to show the functionality of servlets.
What are the phases of the servlet life cycle?
What are some disadvantages of storing session state in cookies?
Is servlet a framework?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?