File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HTTP method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "HTTP method" Watch "HTTP method" New topic
Author

HTTP method

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi!
I read this question:
What HTTP method and corresponding HttpServlet method is used when a user clicks on "Submit" button of any standard Form displayed by a browser?
The answer is post and doPost(...)
Why is not get?? standard Form = default Form???
Thank you in advance.
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 2547
Usually, with FORM, we use POST. But yes, default is GET. So, I think the wording should be improved. (I remember, we fixed it in JWebPlus)


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
Manjunath Subramanian
Ranch Hand

Joined: Jul 18, 2001
Posts: 236
The answer is "GET". GET is the default http-method.
[ February 05, 2002: Message edited by: Manjunath Subramanian ]
 
 
subject: HTTP method
 
Threads others viewed
Form question
JWebplus : Question ID :994774357171
Servlet issue
Marcus Green Mock Difficulty
Can't use trace, put, delete methods on tomcat
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com