Answer Posted / vijayalakshmi
yes, we can create constructor 4 a servlet,but its is
optional, because the compiler bydefault creates constructor
4servlet.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is servlet attributes and their scope?
What is the purpose of requestdispatcher interface?
What are the life cycle methods of a servlet?
What do you understand by mime type?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is the difference between Servlets and Applets?
What is the difference between sendredirect() and forward() in a servlet?
What is servlet? Explain
What’s the difference between sendredirect and forward methods
How can the referrer and the target urls be used in servlet?
What are the uses of servlets?
Write a command to get actual path of a servlet to the server?
What are sessions in servlets?
What is pure servlet?
What is the default http method in the servlet?