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 are the steps that are required to handle the multi-threading?

599


What are different ways for authentication of servlet?

531


What are the different types of servlets?

518


Explain jsessionid?

622


What are the advantages of servlets over traditional cgi?

632






Define servlet mapping?

662


Describe in brief RequestDespatcher?

596


Write the code to get the server information in servlet.

575


What is a generic servlet?

524


Can we use the constructor, instead of init(), to initialize servlet?

586


How can we refresh automatically when new data has entered the database?

622


How would you create deadlock on your servlet?

624


Why servlet is faster than jsp?

570


What do you mean by servlet?

724


What do you mean by session tracking and also explain its techniques?

504