Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

POST method  RSS feed

 
Sirisha Reddy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the POST method advantages:
The server's access log does not record the dynamic data that would be present when using a POST method.
I would like to know wht is servers access log and how it is diff for GET method.
any help? Thanks.
 
Vijay Gopalakrishnan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Server's access log stores all the URL's requests from clients.
If you use POST, you will find a entry like,
/login.jsp
Whereas if you use GET, you will find,
/login.jsp?usr=vijay&pwd=1234
If you have Apache based web servers (IBM, Oracle and most Unix Web Servers), you will find this file named access.log in the logs directory. Some sample entries for your reference:
127.0.0.1 - - [26/Mar/2003:16:52:28 -0500] "GET /TechnologySamples/BasicCalculator/BasicCalculatorServlet?operand1=5&operation=add&operand2=5&calculate=Calculate%21 HTTP/1.1" 200 2454
127.0.0.1 - - [26/Mar/2003:16:55:10 -0500] "POST /TechnologySamples/PageReturner/PageReturner HTTP/1.1" 200 1924
[ June 12, 2003: Message edited by: Vijayakumar Gopalakrishnan ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!