Can we define constructor in Servlet class?
Answer Posted / amit tomar
we can't define constructor in Servlet class
| Is This Answer Correct ? | 3 Yes | 14 No |
Post New Answer View All Answers
If a servlet is not properly initialized, what exception may be thrown?
How to get the path of servlet in the server?
Explain request dispatcher and its methods.
Explain the difference between servletconfig and servletcontext in servlet?
What is httpservlet and how it is different from genericservlet?
What is the difference between the include() and forward() methods?
Explain the difference between generic servlet and http servlet?
What is the difference between context parameter and context attribute?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What are the various ways of session supervision in servlets?
Explain the difference between a web server and a web container?
What is servlet attributes and their scope?
What is cgi?
What is a web container and what is its responsibility?
why we should override only no-agrs init() method.