How do you create connections for number of users, if you
want to improve performance?
Answers were Sorted based on User's Feedback
Answer / sachin s
YES, Just to add, what connection pooling is....In
connection pooling, after a connection is created, it is
placed in the pool and it is used over again so that a new
connection does not have to be established. If all the
connections are being used, a new connection is made and is
added to the pool. Connection pooling also cuts down on the
amount of time a user must wait to establish a connection
to the database.
| Is This Answer Correct ? | 0 Yes | 1 No |
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
What is httpservlet class?
What is string tokenizer?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
How to prevent browser from caching the page content?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
How can we perform any action at the time of deploying the project?
How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?
What are all the ways for session tracking?
What is called servlet container?
Explain the servlet context.
Can we call destroy() method inside the init() method? What happens when we do so?