I am new to the servlet technology world, can anyone help me out? The first section of the exam objectives for the SCWCD is about HTTP methods. I did a quick search in the API for the HTTP class but there is none.
For example, GET maps to doGet, POST maps to doPost, HEAD maps to doHead.....you will find all but doConnect. So when a user submits a form with method="GET" the doGet in the corresponding servlet is executed.
Hi, According To HTTP1.1 Specification Following Are The HTTP Methods. GET,POST,PUT,DELETE,OPTIONS,TRACE,HEAD. For Every HTTP Method There Is Corresponding doXXX()[ Example For GET There Is doGET() In HttpServletRequest Interface.] In HttpServletRequest Interface. If The Form Method Is GET Container Calls doGet() On Requested Servlet Resource. BUT THERE IS NO doConnect() Method.Servlet API Doesn't Support doConnect() EvenThough It Is HTTP1.1 Method. Regards, Prasad.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop