Difference Between getRequest and PostRequest?
Answers were Sorted based on User's Feedback
Answer / hitler
The get request send the data in the URL , it limited to 250
characters , the data is not secured .
The Post Request is better then get because it sending in Body
and the Data is no limitation .
Get Request is little bit faster then Post Request
| Is This Answer Correct ? | 22 Yes | 0 No |
Answer / harini
get wil not encrypt the code
At the address bar it will show the complete adress where the page is forwarded.
where post will encrypt the code...
at the adress bar it will not show the complete details
it will encrypt the adress on the adress bar....
so, post is more secure where compared to get....
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / supraja
Security: GET is less secure compared to POST
POST is safer than GET
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / vinay
when we request using get method the all data show on page and id with value show on URL , if any one make any change on URL id's values this change is affected on target page as well as source page also, So it show data in unsecured manner.
Using post we show only data on target page not showing id's values on URL ,so change will not be possible hence our data is show on target in secured manner.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / bayareddy
GetRequest:combindly header & parameters goes to the
server,it carries below 250 characters only
PostRequest:headers & parameters are not combidly goes to
server, POST Request carries large amount of data,it carries
sensitive and large data
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / poojadayal1989
get request:we are using get REQUEST for retriving request
from server.
Post Request:post request forward request to server
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / praveen raturi
main() method is the entry point for any java program.
JVM call Classname.main() first without using the object of
that class.
| Is This Answer Correct ? | 0 Yes | 10 No |
getrequest means before doing the work with request. This
is fully secure. PostRequest means after done the work take
the request. This is not secure.
For Example: suppose you are doing some updates in
production. first we need to managers approval. you are
doing work with managers approval. This is fully secure.
you aer done with out mangers approval. some times u can do
mistakes. This is not secure.
| Is This Answer Correct ? | 2 Yes | 14 No |
In howmany ways a thread can be created?
What is the map interface?
1) Scenario: I developed my application on local system and everything is perfect and tested. Now on UAT this application is deployed on clustered server environment. They are logical or physically clustered. But application is not working over there.  What is the issue with application?  What are the first things which come in your mind?
What is Servlet Filter And What does it work?
What are various types of class loaders used by jvm?
Explain what is synchronization?
Why doesn’t the focus feature on the tag work in every circumstance?
can we write implementation for a method with in another method?
What is the initial state, When a thread is created and started?
What is synchronization and why is it important?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
What is the difference between the string and stringbuffer classes?