Can we write a constructor for a Servlet class ? if yes how ?
if no why not ?
Answer Posted / abc
you can write as like for regular class.
| Is This Answer Correct ? | 10 Yes | 12 No |
Post New Answer View All Answers
What do you understand by mime type?
Explain the difference between servletconfig and servletcontext in servlet?
What is the difference between CGI and Servlet?
How can we implement a jsp page?
Explain the custom jsp tags and the beans.
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What is servlet name in web xml?
What are some advantages of storing session state in cookies?
What are the annotations used in servlet 3?
What must be implemented by all servlets?
What are the advantages of servlets over traditional cgi?
What is a generic servlet?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What is war file?
Which interface must be implemented by all servlets?