Difference Between getRequest and PostRequest?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is the best time to validate input?

609


Which container method is used to cause a container to be laid out and redisplayed?

670


What is the purpose of the wait() method?

622


what is an isolation level?

2216


What you mean by COM and DCOM?

619






What are transaction attributes?

616


Can I use multiple html form elements with the same name?

581


Explain phantom read?

1741


What is the difference between java class and bean?

585


What are the different class loaders used by jvm?

604


What does module-relative mean?

578


Which component handles cluster communication in jboss?

628


How to pass parameters in RMI?

1691


Why use a datasource when you can directly specify a connection details?

534


Difference between hashmap and hashtable?

609