can v create a constructor 4 servlet?

Answer Posted / ravindra nhavi

yes we can create constructor of servlet instead of init
method but i dont get servlet specification answers.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When to use doget() and when dopost()?

629


How to handle exceptions thrown by application with another servlet?

615


What are the mechanisms used by a servlet container for maintaining session information?

568


What are the uses of servlet and what is servlet chaining?

559


What is the difference between portlet and servlet?

514






What is http servlet in java?

565


What are the differences between forward() method and sendredirect() methods?

550


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2283


What are the difference between RMI and Servlets?

1051


What are the features added in Servlet 2.5?

769


Which method of the httpservletrequest object is used?

570


What is the difference between a generic servlet and http servlet?

525


What do you mean by cgi?

533


How can we create deadlock situation in servlet?

852


How do you deal property files in servlet?

605