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

What is the difference between get and post methods?

604


What are its drawbacks of cgi?

572


What is the servlet?

625


Who is responsible for writing a constructor?

779


Which is better jsp or servlet?

560






When Servlet is unloaded?

629


What are some disadvantages of storing session state in cookies?

592


How do you create a cookie using servlet?

581


Why HttpServlet class is declared abstract?

650


What is the difference between the include() and forward() methods?

572


What is the life cycle of a servlet?

791


How to upload a file to the server using servlet?

533


What is the structure of the http response

677


What is servlet and its types?

558


What is the difference in between the httpservlet and generic servlet?

608