Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Post Redirect Get - a peculiar problem

 
Aravind Bhat
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ,
Aravind
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic