File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes about dispatch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "about dispatch" Watch "about dispatch" New topic

about dispatch

Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
Hi ranchers

I attended this qn Boson practice test. I am confused with the answer given in the test

What HTTP Servlet class method is used to dispatch an HTTP POST request?
A) doGet
B) Service
c) doPost
D) doTrace
E) service

my answer is doPost. The answer given is service is it correct?
Nitish Bahadur
Ranch Hand

Joined: Aug 25, 2003
Posts: 118
Verbatim from the Servlet 2.4 Spec, Pg 230:
service handles standard HTTP requests by dispatching them to the handler methods for each HTTP request type.
Don't get me started about those stupid light bulbs.
subject: about dispatch
It's not a secret anymore!