Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

method="POST"

 
Rollyn
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How would you know if the page is already POSTed? Say example, i have a page and clicking on the submit button will redirect me to the same page, but i have a code there that check if the page is already posted. Thanks.
 
Sergey Tyulkin
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way is to use an attribute in the page (or request) scope, that gets filled on POSTing, and has two states. You can use <html:hidden> for saving this attribute on the client side
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic