Can we write a constructor for a Servlet class ? if yes how ?
if no why not ?
Answer Posted / ravi
No..not at all,,,,servlet is a class which is dynamically
loaded...dynamically loaded class never requires
constructors.
Is This Answer Correct ? | 8 Yes | 18 No |
Post New Answer View All Answers
What is cgi and what are its drawbacks?
What do you mean by cgi and what are its drawbacks?
How to read request headers from servlets?
How to generate the server side programming and the advantages of it over the other languages?
What is servlet and its life cycle?
Explain the architechure of a servlet?
What is servlet in tomcat?
What is the main purpose of java servlets?
What are all the ways for session tracking?
What are the steps involved in placing a servlet within a package?
How can we create deadlock situation in servlet?
Can you explain in detail 'javax.servlet' package?
Why is http protocol called as a stateless protocol?
What are all the advantages of servlet over cgi?
What is servlet initializer?