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
request parameter how to find whether a parameter exists in the request object?
What is a generic servlet?
What is servlet looping or chaining?
What do you mean by request dispatcher in servlet? Also explain its methods.
what is multiple server?
What is a servlet context object?
How can we refresh automatically when new data has entered the database?
What is the main purpose of java servlets?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
How is a servlet implemented in code?
How to upload a file to the server using servlet?
When Servlet is unloaded?
How do you find out what client machine is making a request to your servlet
Which are the different ways you can communicate between servlets?
What is called servlet container?