ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Java Related >> Java J2EE >> Core Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1722)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (147)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Question
what is the difference b/w PUT and POST method to send data 
to the server
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
The Basic Difference between PUT and POST is by using PUT
we have only limited data to be sent to the Server also it
can be shown into Browser URL if you use UserName and
Password by using PUT then the Password and UserName can
also be seen in the URL.

Where as if you will use Post then the whole data can be
Sent to the Browser without being shown.
 
Is This Answer Correct ?    4 Yes 3 No
Cool_one368
 
Answer
# 2
The Basic differences between PUT and POST method is:
Using PUT method to transfer new resources from client to server and store it.
Using POST method to transfer new resources or updating existing resources and store or replace it.
 
Is This Answer Correct ?    2 Yes 1 No
Ambrish
 
 
 
Answer
# 3
Post submits data to be processed from a page to the
server. The data is included in the body of request. It is
not visible in the browser address bar.

Whereas PUT uploads(binary/text) a representation of the
specified resource. It provides a useful alternative to FTP.
 
Is This Answer Correct ?    3 Yes 6 No
Nidhi Aggarwal
 
Answer
# 4
suppose we are using post method.At the time,all (lot of
size)data will goes to server.
we are using get method in the form.At the time,only 2kb
data will be transfered and all the data will appended as a
query string.
 
Is This Answer Correct ?    0 Yes 10 No
Dara
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is platform dependent translation and platform dependent programming language   2
What is the difference between abstract class and interface?   3
Java support call by reference (pass by reference) ? HCL 1
Difference between error and exception Nous 3
Why we need to serialize the object Geometric-Software 10
What methods are called, When we navigate from one applet to another applet?   1
how to print the below in java? * * * * * * * * *   2
what is Assertion? Wipro 4
what is multi-tasking Tech-Mahindra 3
How are Java source code files named?   3
How to create an instance of a class if the class has private constructor?   3
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } } Igate 7
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com