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.
posted 10 years ago
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