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 ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between forward () and sendredirect () functions in servlet? Explain

540


What do you mean by httpservlet?

559


What is a servlet-to-servlet communcation?

640


What is meant by a web application

533


When Servlet is unloaded?

623






What are the type of protocols used in httpservlet?

607


What are the annotations used in servlet 3?

569


What is httpservlet class?

538


What do you mean by request dispatcher in servlet? Also explain its methods.

604


Can filter be used as request or response?

538


What is a servlet context?

594


Explain the concept of ssi ?

587


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

2272


What are session variable in servlets?

560


Explain the servlet filter.

537