wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Post method - Not able to bookmark the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Post method - Not able to bookmark the page" Watch "Post method - Not able to bookmark the page" New topic
Author

Post method - Not able to bookmark the page

kalle suresh
Ranch Hand

Joined: Nov 20, 2007
Posts: 48
Hi Ranchers,

Could you please clarify my doubt, What is the reason behind not able to bookmark the page if the request is HTTP POST.

Thanks,
Suresh.
kalle suresh
Ranch Hand

Joined: Nov 20, 2007
Posts: 48
Hi All,

Can anybody know, please reply to my question.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

How will POST request parameters be bookmarked ?


[My Blog]
All roads lead to JavaRanch
yogesh srinivasan
Ranch Hand

Joined: Jun 08, 2007
Posts: 55
Now it would be easy to explain your question if you could understand why its possible to bookmark a GET method page. Say if google search engine uses GET method to send your search request for "JavaRanch". You could get a response page from its site for your search and the link would be something like http://www.google.com/search?hl=en&q=javaranch&aq=f&oq=. Since its a GET request and your request data is sent along with the url and now you bookmark this link and when ever you call back the link your browser is going to send back your request with the search data and this is going to end up with the same page. Now to answer your question say if google uses POST method for its search then your search data is not sent through the url and its through the request body and even if you bookmark the result page it dosnt contain any information about what you have searched other than the resource location. This is the reason why we cant bookmark a POST method request.
kalle suresh
Ranch Hand

Joined: Nov 20, 2007
Posts: 48
Thanks a lot. Understood.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Post method - Not able to bookmark the page
 
Similar Threads
doPost and doGet
What is the disadvantage of Post method?
doPost and Bookmarking
Need Help in Understanding Limitation of HTTP Get
GET/POST Bookmark