Can we define constructor in Servlet class?
Answer Posted / santhosh kumar
Yes, we can define constructor in servlet.
| Is This Answer Correct ? | 28 Yes | 4 No |
Post New Answer View All Answers
What are the different methods involved in generic servlet?
Difference between forward() method and sendredirect() method ?
What are the differences between servlet context vs servlet config?
Explain the difference between servletconfig and servletcontext in servlet?
How is an application exception handling is done using a servlet?
What are the types of servlets? Explain
Can we fetch the attributes related to a servlet on a different servlet?
Describe in brief RequestDespatcher?
Explain the lifecycle of a servlet?
What are the phases of a servlet life cycle?
What do you mean by the servlet chaining?
What is the servletconfig object?
What are the life-cycle methods for a servlet?
What are the functions of Servlet container?
Define servlet mapping?