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 do you mean by servlet context?
How is a servlet implemented in code?
Write a simple servlet program to print the contents of html.
What are life cycle methods of a servlet?
Which are the different ways you can communicate between servlets?
What is cookie? Why is cookie used?
What are the mechanisms used by a servlet container for maintaining session information?
Explain url encoding in servlet?
What is http servlet? Explain with the help of an example.
Explain in brief the directory structure of a web application?
What do you mean by session tracking and also explain its techniques?
How to commuincate between an applet and a servlet?
What are some disadvantages of storing session state in cookies?
Differentiate between the get and post method
what is multiple server?