What are the key methods that are involved in processing of http servlets?



What are the key methods that are involved in processing of http servlets?..

Answer / Rashmi Bhatnagar

The primary methods involved in the processing of HTTP Servlets are doGet(), doPost(), and init(). The doGet() method handles GET requests, doPost() handles POST requests, and init() is called once when the servlet is first loaded into the servlet container.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

what is the difference between do get/dopost

9 Answers  


What is the advantage of Servlets when compared with other server side technologies?

1 Answers  


Why session tracking is needed?

1 Answers  


Which application server is best for java?

1 Answers  


What is the difference between encodeRedirectUrl and encodeURL?

1 Answers  


How the typical servlet code look like ?

1 Answers  


What is called servlet mapping?

1 Answers  


What is the difference between RequestDispatcher and sendRedirect?-

5 Answers   CTS,


How to handle the debug errors in servlets?

2 Answers  


What are different Authentication options available in Servlets.

1 Answers  


Difference between doget and dopost?

1 Answers  


Explain session tracking and its importance?

1 Answers  


Categories