Can we write a constructor for a Servlet class ? if yes how ?
if no why not ?
Answer Posted / abc
you can write as like for regular class.
| Is This Answer Correct ? | 10 Yes | 12 No |
Post New Answer View All Answers
How printwriter is different from servletoutputstream?
What is a web application and what is it’s directory structure?
What are the different methods involved in the process of session management in servlets?
If a servlet is not properly initialized, what exception may be thrown?
What are the functions of an intercepting filter?
What are the uses of servlet
Is java servlet still used?
What exception should be thrown when servlet is not properly initialized?
Write a program to show the functionality of doget and dopost method?
Is dispatcher servlet a singleton?
What is difference between server and servlet?
What do you mean by web applications? Explain web application directory arrangement?
What is servlet and how it works?
What is servlet initializer?
What are different methods of session management in servlets?