Can we define constructor in Servlet class?
Answer Posted / jayakrishna
init() is there what is the need of constructor.If is ther
who will call the constructor? servlet container will call
the init method
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is pure servlet?
How we can call a jsp from the servlet?
What do you mean by deployment descriptor?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
Explain the difference between a web server and a web container?
What is dispatcher servlet?
Why is Servlet so popular?
Why jsp is better than servlet?
What exception should be thrown when servlet is not properly initialized?
Which is better jsp or servlet?
How do we go with database connection and log4j integration in servlet?
How a servlet is unloaded?
Differentiate between the web server and application server?
What if we pass negative value in load-on-startup?
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