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
Tell us something about servletcontext interface.
Can you send an authentication error from a servlet?
How to get the server information in a servlet?
Is java servlet still used?
List some life cycle methods of a servlet.
Why do you use session tracking in httpservlet?
What is the difference between the include() and forward() methods?
What is the use of servletconfig interface?
What is context in servlet?
Elucidate servlet attributes and its scope?
How do you get the ip address of the client in servlet?
Why do we have servlet listeners?
Why doesn’t a servlet include main()?
What's the difference between servlets and applets?
What is meant by servlet? What are the parameters of the service method?