java4all@1986 java. Powered by Blogger.

Difference between GET() and POST()?

>> Wednesday, June 1, 2011

Difference Between Get() and Post()

1.)Get() method is default method ,where as post() is not default method.

2.)Get() method had only header part,it doesn't had body part, where as post() had both header part and as well as  body part.

3.)Due to lack of body part in get() method it is unable to store the client specified i/p data in header part, because header part having limitations upto 256 characters .In post() due to availability of body part ,it will store large n.o i./p provided by the client,because body part doesn't have limitation of memory.

4.)Due to lack of body part get() method doesn't provide security,where post()  method will provide security.

5.)Mainly get() can be used to download data for server, post() can be used to upload data on server. 

Read more...

What are the Http Protocol methods?

Http protocol gives an option to developers to specify some method at client machine
   HTTP METHODS
1.)GET
2.)POST
3.)HEAD
4.)POST
5.)TRACE
6.)OPTION
7.)DELETE

Read more...

How will Http protocol will maintain it's statless behaviour?

                                                     
Client server Architecture
               1.)When we sent a request from client to server ,the protocol will establish a socket connection between client and server.Upon receiving the request the protocol will prepare a request format consists of header part and body part.
                 2.)In header part it will maintain client and server ip address and in body part it will maintain client specified input data.
                  3.)The protocol will carry the request format to the server ,then the server generate the dynamic response and keep in the request object and send to the protocol.
                   4.)Then the protocol will prepare a response format and carry the response generation to client machine.
                   5.)When the response reached to client machine ,the protocol will terminate the establish socket connection between client and server.
                  6.)  This means that protocol will not remember  the previous conservation data at the time of processing the later request.

                                            It means that HTTP protocol will maintain the stateless nature. 
                                    

Read more...

What type of protocol we are using in our application?

Protocol:It is set of rules and regulations which can be used to carry data from one machine to another machine.
           We need the protocol that should follow the below rules:
          1.)It should not have physical connection.
          2.)It should be statementless.
          3.)It should be compatible to carry the hyper text data from client to server and server to client machine.
     So we are using HTTP protocol in our application because it follows all the above rules.

Read more...

FaceBook Login

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

Total Pageviews

STATCOUNTER

  © Blogger template Simple n' Sweet by Ourblogtemplates.com 2009

Back to TOP