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

Answer Posted / ravikiran

no it's not a good practice to overide the service
method...if we call any of the doxxx method then internally
it will call the service method of the HttpServlet

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

541


When servlet is loaded?

585


How would you create deadlock on your servlet?

614


Name the packages that work with servlet?

537


How to upload a file to the server using servlet?

526






Can we refresh servlet in client and server side automatically?

586


List out the difference between ServletConfig and ServletContext?

595


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2074


What is cookies in servlet with example?

513


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

556


What are different Authentication options available in Servlets.

561


What is the difference between genericservlet and httpservlet

580


What are different ways for servlet authentication?

557


What do you mean by the servlet chaining?

540


What is the major difference between servlet and applet?

535