wat happen when the connection is nt closed in jdbc
n what vl happen when i interchange in executequery n
execute statements
Answer Posted / prasanthi reddy
when con.close() is executed the memory allocated for the
connection in the server is deallocated,and the connection
with the client will be terminated.
if we dont use con.close() even if our requirement is
completed,the connection will be remain in the server it is
the more burden to the server,it will kills the performance
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is actionmapping?
How you will display validation fail errors on jsp page?
Can we integrate struts with spring?
Explain about struts dispatch action?
What do you mean by ognl?
What is struts2 namespace?
What is ognl?
Mark the differences between html tags and strut specific html tags.
Why do we use struts?
Difference between html tags and struts specific html tags
What is the purpose of @emailvalidator?
How to build struts application in eclipse?
What is the use of resourcebundle.properties file in Struts Validation framework?
What is the purpose of @key annotation annotation?
How can forward action be used to restrict a strut application to mvc?