Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: what's the difference?


Message #1 by "zhebincong" <zhebincong@1...> on Fri, 11 Jan 2002 15:40:14
GET and POST" the basic difference between these two methods that we can see
is that that if you use the "GET" method then in the address text box you
can see that the data entered in the form is also displayed, will this is
not displayed when using POST method.
so security is main difference between GET and POST


-----Original Message-----
From: Kevin Mukhar [mailto:kmukhar@e...]
Sent: Friday, January 18, 2002 4:01 PM
To: Servlets
Subject: [servlets] RE: what's the difference?


>  get is for call value from database.post is to add  to database

GET and POST have nothinig to do with a database. GET and POST are defined
by the HTTP protocol and deal only with communicating with an HTTP server.
Accessing a static web page is a GET request, there's no database
involved. There could, of course, be a server side application that
accesses a database, but again there is no correspondence with GET and
POST. GET and POST could do the opposite of what you claim. A GET request
could result in the web application inserting data into a database; a POST
request could result in the web application retrieving data from a
database.

Kevin Mukhar
Beginning Java Databases
Oracle 9i Java Programming
Oracle 8i Application Programming


  Return to Index