There is a question in the chapter 1 that is about where to use Get and where to use Post ? For me to answer this question only two points are there 1. If there is any fild like Password you want to send , then u can't use Get. 2. When the data is in bulk mean more then the limit of Get , then you can't use the Get method .
Is there any other criteria for selection between Get method and Post method???
SCWCD 1.4, SCJP 1.4
posted 12 years ago
If your form will update something on the server (for example, inserting or updating record in a database), then use POST. If you then try to refresh the page (send the same request once again), you will get "Are you sure to send request with POST data?" warning in most browsers. If your form will not do any update (for example, a form for "Search by") then use GET. Such pages can be easily refreshed without warnings.