A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Web Component Certification (SCWCD/OCPJWCD)
Joined: Apr 12, 2005
Sep 01, 2005 01:01:00
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.
Joined: May 10, 2005
Sep 01, 2005 02:52:00
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
I agree. Here's the link:
Please help its urgent
Chances of me getting a job
cant compile generics in JSP using TomCat 5.5
where will I get Portal interview questions!
Creating Hit counter
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014