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 (1728)
 Advanced Java interview questions  Advanced Java Interview Questions (332)
 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 the difference between a java object reference and c++ pointer?   4
Difference between hashCode() & equals()? HCL 3
Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?   2
What is casting?   5
why java is better then .net? iGate 5
what is polymorphism with example?types of polymorphism? HP 15
what is the meaning of java.lang and java.util   6
hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class   1
In Inheritance if we are implementing Multi level inheritance and all class having same name of variable and now i want to access each class variable and how it is possible?   2
What is hard code & soft code? Wipro 6
what is real-time example of runtime polymorphism and compile time polymorphism   4
What are library required to connect to excel sheet. Cap-Gemini 2
 
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