Answer Posted / srikanth b
Get:-
1.Get is read only request, means by using get the web
client is not going to update any information on server side.
2.In get the request paramaters info or client info is added
to uri in the form of Query String(Request Parameters) and
it is visible in browser's adders bar.So we cant send
sensitive info to the Server.
3.The no of characters can be placed in the adders bar are
limited(8000 chars). So we cant send huge amount of data.
4.We can send only ascii data here.
Post:-
1.Post is not read only request, it is an update request,
means by using post the web client is going to update any
information on server side.
2.In post the request paramaters info or client info is
placed in the entity body.As request parameters are added to
entity body they are not visible in the browser's adderss
bar.So we can send sensitive info to the Server.
3.In the entity body we can palce huge data. There is no
size limitation. So we can send huge amount of data.
4.We can send ascii and binary data from web client to web
server.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you mean by session tracking?
Explain servlet life cycle?
What is servlet name in web xml?
When to use doget() and when dopost()?
What are the functions of the servlet container?
How can you create a session in servlet?
Is dispatcher servlet a singleton?
Differentiate between the get and post method
How to rectify errors in java servlet while compilation?
What is the difference between Difference between doGet() and doPost()?
What is http servlet?
How can the referrer and the target urls be used in servlet?
What are the different session tracking techniques?
What are the features added in Servlet 2.5?
What do you mean by httpservlet?