Can we write a constructor for a Servlet class ? if yes how ?
if no why not ?
Answer Posted / n.l.narayana
yes., when ever the servlet is executed .,it requires
configuration.,the configuration should be done in init()
method only.,
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Can you refresh servlet in client and server-side automatically?
What are the functions of an intercepting filter?
What is servlet in web technology?
Is servlet a controller?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
what is multiple server?
What is servlet interface?
What is Servlet API used for connecting database?
How can you run a servlet program?
What if you need to span your transaction across multiple servlet invocations?
What are the types of protocols supported by httpservlet ?
How do you define a servlet?
What is a servlet context?
What are the differences between the servletconfig interface and the servletcontext interface?
Describe the phases of servlet lifecycle?