wood burning stoves 2.0*
The moose likes JSF and the fly likes Post Redirect Get - a peculiar problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Post Redirect Get - a peculiar problem" Watch "Post Redirect Get - a peculiar problem" New topic

Post Redirect Get - a peculiar problem

Aravind Bhat
Ranch Hand

Joined: Jun 16, 2006
Posts: 32
Hi ,
I am trying to disable the back button of my browser through the PRG pattern . The 'view source' of all the JSP pages gives me the 'method' in the form tag as 'post' but when I try to obtain the method through request.getmethod , it gives me Get . How is this possible ?

I find it quite confusing coz because of it , I'm not able to emmulate the PRG .Is there a way out ? I read a lot of posts but there's nothing about this behaviour .

Kindly help .

Regards ,
jQuery in Action, 2nd edition
subject: Post Redirect Get - a peculiar problem
Similar Threads
Removing HttpServletRequest parameters
How good is PRG (POST/REDIRECT/GET) pattern in avoiding duplicate form submission?
When does JSF use or Post ?
Disabling Back Button of the Browser
Browser Path Not Refreshing