Can we define constructor in Servlet class?
Answer Posted / sitaram
in java, we can access any class, first JVM search the any
type(with or with out parameters) constructor. if it their
the same constructor will be calling other wise JVM create
the default constructor for that class.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
How to get the current httpsession object?
What are the types of an http request?
What are the functions of an intercepting filter?
Difference between httpservlet and generic servlets?
Explain the servlet context.
Describe the phases of servlet lifecycle?
List some life cycle methods of a servlet.
Can you call a jsp from the servlet?
When servlet is loaded?
What is new in ServletRequest interface ? (Servlet 2.4)
What are the phases of servlet life cycle?
How to handle exceptions thrown by application with another servlet?
What is servlet and its life cycle?
How forward () method is different from send redirect () method?
Explain the concept of ssi ?