Answer Posted / vijayalakshmi
yes, we can create constructor 4 a servlet,but its is
optional, because the compiler bydefault creates constructor
4servlet.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Difference between forward() method and sendredirect() method ?
Which interface must be implemented by all servlets?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is http servlet?
How can we create deadlock situation in servlet?
Servlet is pure java object or not?
Why filter is used in servlet?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
How to generate the server side programming and the advantages of it over the other languages?
What do you mean by a filter and how does it work?
What is a servlet engine?
How can we perform any action at the time of deploying the project?
What is the servlet?