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 |
Why are http servlets used in programming?
What is difference between PrintWriter and ServletOutputStream?
What is the default HttpRequest method?
Given the request path below, which are context path, servlet path and path info?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What is the difference between get and post methods?
Can a servlet be called by passing its name as a parameter in the URL?
What are the uses of servlet and what is servlet chaining?
Which HTTP method is non-idempotent?
Name the packages that work with servlet?
What is Generic Servlet and how it is different from Http Servlet?
What are the benefits of using servlet over cgi?