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 a parser. What does a parser do with a XML? Why do we need it?
Write a program to show the functionality of doget and dopost method?
What is the use of servlet wrapper classes?
Can we get PrintWriter and ServletOutputStream both in a servlet?
In servlets, Why do we need both GET and POST method implementations?
If you want to modify the servlet,will the Webserver need to be ShutDown ?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What are the differences between forward() method and sendredirect() methods?
What is servlet invoker?
can servlet have instance variables?
What is MIME Type?
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