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 procedure of invoking different servlet in a different application?

761


What is the difference between 2 types of servlets?

853


What’s the difference between forward() and sendredirect() methods?

772


What are the uses of servlets?

801


Explain servlet.

773


Differentiate between the get and post method

783


Why are http servlets used in programming?

738


What are the disadvantages of storing session state in cookies?

880


How can you run a servlet program?

788


What is session tracking?

891


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

762


What are the functions of Servlet container?

813


What are important features of Servlet 3?

800


Difference between get and post in java servlets?

753


How are filters?

800