• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP method

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3817
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Manjunath Subramanian
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is "GET". GET is the default http-method.
[ February 05, 2002: Message edited by: Manjunath Subramanian ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic