What method is used to create database connection in
servlets?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
either using DriverManager.getConnection
(or)
DataSource.getConnection()
| Is This Answer Correct ? | 10 Yes | 0 No |
What are the uses of servlet
What are different types of SessionTracking?
How do you create a cookie using servlet?
What is the disadvantage of cookies?
what is meant by Transaction Isolation Levels?
What do you understand by mime type?
What are the kinds of http requests?
What is the difference between get and post methods?
My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??
What is the need of session tracking in web application?
What are life cycle methods of a servlet?
How can the referrer and the target urls be used in servlet?