PrepAway - Latest Free Exam Questions & Answers

Which two methods of the servlet should be overridden by the servlet programmer?

A Web application contains a single servlet that handles all types of requests. Within the Web
application is an HTML page that contains a form that uses a POST type request. There are also
hyperlinks with query strings associated with them. Requests arriving at the servlet via the form
must be processed differently than requests made through the hyperlinks with query strings.

Which two methods of the servlet should be overridden by the servlet programmer?

PrepAway - Latest Free Exam Questions & Answers

A.
doGet

B.
doForm

C.
doPut

D.
service

E.
doPost

F.
doQuery


Leave a Reply