can v create a constructor 4 servlet?

Answer Posted / reddy akhi

sure why not if we are not provide a constuctor for servlet
it automatically get constructor by the java compiler if we
provide a constuctor for a servlet the java compiler will
not provide constuctor at that situation

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define context initialization parameters.

567


Explain the custom jsp tags and the beans.

613


What is the structure of the http response

664


Explain the steps involved in placing a servlet within a package?

559


What is servlet in simple terms?

558






What are the steps that are involved in using the httpservlet class?

567


Whether thread can be used in servlets?

722


Why do we have servlet filters?

593


What are the steps that are required to handle the multi-threading?

591


What is pure servlet?

691


When a servlet accepts a call from a client, it receives two objects. What are they?

754


Explain how does JSP handle run-time exceptions?

577


How to get the current httpsession object?

646


What is dispatcher servlet?

550


What is the purpose of dispatcherservlet properties?

506