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 |
Describe in brief RequestDespatcher?
What compiler do not do if we create our own constructor?
Can we define constructor in Servlet class?
When servlet is loaded?
Is java servlet still used?
Difference between jakarta tomcat and apache Tomcat?
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,
how do you maintain sessions in servlets?
When we don't write any constructor for the servlet, how does container create an instance of servlet?
Is servlet synchronized?
Difference between java beans & servlets?
How can you run a servlet program?