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
Write a simple servlet program to print the contents of html.
Can you send an authentication error from a servlet?
How can we perform any action at the time of deploying the project?
What are the mechanisms used by a servlet container for maintaining session information?
Why is httpservlet declared abstract?
What is the use of request dispatcher interface?
What is the difference between servlet and filter?
Explain request dispatcher and its methods.
What are the advantages of Servlet over CGI?
What’s the difference between forward() and sendredirect() methods?
What is the purpose of inter-servlet communication?
What methods do you use in servlet - applet communication?
Explain url encoding?
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?
How do you find out what client machine is making a request to your servlet