differences between GET and POST methods in form submit

differences between GET and POST methods in form submit

What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods?

View Answers

November 12, 2010 at 4:03 PM

1.doGet():

1.suppose if u submit form data to get() method,it accepts only 120 bytes data.doGet() method is default method.if u dont metion any method,then it default goes to doGet()

2.And one more is Data is not secured in doGet() method.if u pass data to doGet(),then it redirects on the browser address bar.

doPost():

1.It does not have any memory limitations.it accepts too much information.

2.Data is secured in this method.if convert the user data into other formats(unknown).









Related Tutorials/Questions & Answers:
differences between GET and POST methods in form submit
differences between GET and POST methods in form submit  What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods
HTML form methods GET and POST
HTML form methods GET and POST  What is the difference between the HTML form methods GET and POST
Advertisements
GET and POST methods
GET and POST methods   What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods
Difference between GET and POST
Difference between GET and POST   Difference between GET and POST ?   The difference between a GET and a POST is the way data... or a POST is different too. If you use a GET, the method that is called is doGet
What is the difference between GET and POST method?
What is the difference between GET and POST method?  In PHP, both GET and POST method serves the same feature to get the data in variable. Still...;difference between get and post method in PHP POST method is more secure than GET
Differences between HashMap and Hashtable?
Differences between HashMap and Hashtable?  Differences between HashMap and Hashtable
submit a form
submit a form  How can we submit a form without a submit button
Differences between session and cookie
Differences between session and cookie  What are the differences between session and cookie?   Session is stored in server but cookie stored in client. Session should work regardless of the settings on the client
What are the differences between EJB and Spring
What are the differences between EJB and Spring   Hi, What are the differences between EJB and Spring Thanks
Java Servlet : Difference between GET and POST
Java Servlet : Difference between GET and POST In this section, we  will differentiate the GET and POST method of servlet. GET - It is HTTP method, asks to get thing at the requested URL. POST - It is HTTP method, asks
post get
post get  what is post and get
php form post to mysql
php form post to mysql  How to post data into mysql database from the PHP post data form
differences between cell spacing and cell padding
differences between cell spacing and cell padding  What are the differences between cell spacing and cell padding
What are the differences between require and include, include_once?
What are the differences between require and include, include_once?  What are the differences between require and include, include_once
get and post
get and post  what is php and get   PHP get and post method
POST or GET
POST or GET  hello, Which will execute faster on php POST or GET?   hii,ADS_TO_REPLACE_1 The POST metod is much more faster then GET... no information is given to ULR that's why POST is faster then GET method
Ajax form submit
submit. I want quick tutorial that will help me in writing form submit code in Ajax. Thanks   Hi, Read jQuery 'submit' form event tutorial. This tutorial teaches you how to submit form using jQuery framework. Thanks
post get
post get  what is ajax
more Submit buttons in the same form
more Submit buttons in the same form  Can I have two or more Submit buttons in the same form
differences between require and include, include_once.
differences between require and include, include_once.  What are the differences between require and include, include_once?   Hi friends, Differebne 1: The include_once() function includes and evaluates the specified
php $_GET and $_POST functions
php $_GET and $_POST functions:       PHP provides two special functions called $_GET & $_POST, this functions are used to get the values which are passed from a user-filled form, like user
post ,get data in the database
post ,get data in the database  post ,get data in the database  Please visit the following links: PHP get post data PHP Tutorials
Differences between OLAPDataGrid and AdvancedDataGrid
Differences between OLAPDataGrid and AdvancedDataGrid: There are several differences which are following. 1. OLAPDataGrid control does not have a column dragging. 2. OLAPDataGrid control cell has a data which is a result of OLAPQuery
How can we submit a form without a submit button?
How can we submit a form without a submit button?  How can we submit a form without a submit button
Post Method of the Form In JSP
Post Method of the Form In JSP   ... of the post method of the form in JSP. The HTTP post method sends data... There is no need to use POST method in the form. This method doesn't append the URL
how to post data in mysql php form
how to post data in mysql php form  how to post data in mysql php form
POST AND GET METHOD - JSP-Servlet
POST AND GET METHOD  I AM LITTLE BIT CONFUSED IN GET() AND POST() METHODS. PLZ GIVE ME BREIF INTRODUCTION ABOUT THESE ??:)  Hi Friend...://www.roseindia.net/jsp/how-work-post.shtml http://www.roseindia.net/html/html-get
jQuery 'submit' form event
jQuery 'submit' form event In this tutorial, we will discuss about the  'submit' form event of jQuery. In this example... when "submit" event return 'true' to 'form'
What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?  What are the differences between mysqlfetcharray(), mysqlfetchobject(), mysqlfetchrow
Differences between the String, StringBuilder, and StringBuffer classes
Differences between the String, StringBuilder, and StringBuffer classes.... The significant performance difference between these two classes is that StringBuffer...;Lost!!"; Things get interesting here. The bytecode generated
differences
differences  what is the difference between i++ and ++i
php form having 2 submit buttons
php form having 2 submit buttons  i have a php form and some text boxes.and 2 buttons"approve" and "disapprove". when i click on approve button the data from form should go in mysql database and mail should go to appropiate
PHP HTML Form Submit Button
Topic : HTML FORM SUBMIT BUTTON Part - 4 The another part which is important.... The Submit button in Html is used to submit form data to the page mentioned... if the form was really submitted or not. We have given name to our submit button
Submit project to get developed
submit your project by filling up this form. After the submission...; * The Process starts when you submit the form describing your project. ... and presented here as questions. How do I Submit
HTML Post Form
HTML Post Form      ... to send the form data in the form of message. The Post method in HTML is used... The Tutorial illustrates an example from HTML Post Form. In this Tutorial, the code explain
Form Post
GET and POST Method of HTTP
GET  and POST Method of HTTP       GET The Get is one the simplest Http method. Its main job... page, a sound file, a picture file (JPEG) etc. We can say that get method
How to save form fields into the MySql Database without submit button in jsp?
How to save form fields into the MySql Database without submit button in jsp?  I want to store user inputs into the database using javasccript or ajax or jqury but without submit button. Form Contains three fields
Multiple submit nuttons in single xhtml form - Java Server Faces Questions
Multiple submit nuttons in single xhtml form  Hi, I am facing problem in my JSF application, where in single page , we have two submit buttons. If any one of the button is clicked , then entire form is submitted. How to avoid
HTTP GET or POST for my AJAX call
HTTP GET or POST for my AJAX call  hello, Should I use an HTTP GET or POST for my AJAX calls?   Hii,ADS_TO_REPLACE_1 AJAX requests should use an HTTP GET request when retrieving data where the data will not change
insertin form data into databse and blank all form field when click on submit button
insertin form data into databse and blank all form field when click on submit... database when click on submit button and blank all form field after inserting...) Click "Ok" and then try the JSP. form.jsp: <form name="form" method="post
Multiple submit buttons in single xhtml form - Java Server Faces Questions
Multiple submit buttons in single xhtml form  Hi all, Here I am attaching the source of the page , which containig two submit buttons. Somebody suggested to keep eaxh button in different form. I am new to JSF, can anyone split
post
post method in PHP  Write an example of the post method in PHP to send the data to another page or simply update the database.   in post values in the url will be hidden   in post   post
To get the String between two strings
To get the String between two strings  How to get string between two strings repeatedly using java?   Hi, Please tell me more about what do you want to achive.ADS_TO_REPLACE_1 Thanks
post
post  what is post   vxvxcvxcv   Please visit the following link: Post in PHP
JSTL : Submit Form TextField
JSTL : Submit Form TextField     ...; <form method="POST" action="JSTLSubmitTextField.jsp"> <tr>... how we can retrieve multiple values from the form.  Firstly we have
how to get a values from a multipart/form-data - JSP-Servlet
how to get a values from a multipart/form-data  Dear sir , I...) { method = "post"; action = "newEntryDetails2.jsp"; name = "form"; id = "form...: Attach If i submit the form then i am getting only subject
What’s the difference between load() and get()?
What?s the difference between load() and get()?   Hi, What?s the difference between load() and get()? thanks
Get Method of the Form In JSP
Get Method of the Form In JSP     ... of the form in JSP. The HTTP get method sends data to the server. In your JSP application, the get method of the form carries the form data and sends
form submit in ajax

Ads