can we override service method in my servlet class..?? if
yes or no why ??

Answer Posted / sekhar babu

yes, we can override service() in our servlet, but not
preferable. if we want use these service from any protocol
like ftp,telnet, then we have to override.

Is This Answer Correct ?    36 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is context in servlet?

532


Explain the difference between get and post method in servlet?

594


What do you mean by the servlet chaining?

540


What is servlet collaboration?

655


What is the use of httpservletrequestwrapper?

584






What is the use of send redirect () method?

583


Describe some assignments that are executed by servlet container?

574


Explain the servlet filter.

537


What are all the ways for session tracking?

587


How we can call a jsp from the servlet?

527


What exactly is a servlet?

537


Explain load on start-up and its importance?

590


Which java framework is most popular?

573


What are the life cycle methods of a servlet?

585


Whether thread can be used in servlets?

720