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 do you understand by url rewriting?
What are the phases of the servlet life cycle?
What is meant by Servlet? What are the parameters of service method?
What are the functions of Servlet container?
If some new data has entered the database, explain how can a servlet refresh automatically?
Explain the methods of request dispatcher in servlet?
What is servlet and its life cycle?
What is the workflow of a servlet?
How to pass session values from one servlet container to another servlet container? or how can we get session values of one container in another container?
How two servlets communicate with each other?
which method in doGet or doPost is use to send binary date to server
Name the packages that work with servlet?