aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "about dispatch" Watch "about dispatch" New topic
Author

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about dispatch