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 the difference between the include() and forward() methods?
What are the objects involved when a servlet receives a call from client?
i have 500 jsp in my application ,with same forward name,it lokks for appropritae jsp from 1 to 500,but i want to send response to 498 page,what should i do
Given the request path below, which are context path, servlet path and path info?
Explain the steps involved in placing a servlet within a package?
HTTP tunneling means what?
What are the kinds of http requests?
How can you use a servlet to generate a plain text instead of html?
What is Server-Side Includes?
Explain the difference between servletconfig and servletcontext in servlet?
What are important features of Servlet 3?
How native code can be used in a servlet?