Explain the difference between GET and POST methods?
Answer Posted / alok kumar ranjan
Re. What is the difference between Get and Post Method?
Answer: (1). Get is Default Http Method, but in post method
you should specify the post method implicitly as follows:-
<form action=" " method="post"
(2) In Get Method, data is passed in URL Pattern. But in
post method data is passed with in method body.
(3) In Get Method, Size of URL is limited because of this e
can send only limited amount of data to server using the
get method. But in Post Method, We can send the data
unlimited amount of the data.
(4) Get Method is not secured because data can be seen in
URL. But Post Method is much secured.
(5) Through Get Method, We can not send data to server but
in Post Method, We send the data to server
| Is This Answer Correct ? | 19 Yes | 6 No |
Post New Answer View All Answers
Explain url encoding?
What are the life cycle methods of a servlet?
Whether we can get deadlock situation in servlets?
What is cookie? Why is cookie used?
How to get the server information in a servlet?
What is the difference between servlet and jsp?
Is it possible to have a constructor inside the servlet?
Why don't we write a constructor in a servlet?
Why are http servlets used in programming?
What is httpservlet class?
What are the steps that are required to handle the multi-threading?
What do you mean by request dispatcher in servlet?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
Explain how to improve Servlet Performance?
Write a command to get actual path of a servlet to the server?