posted 20 years ago
You'll need to implement some sort of session tracking, to keep track of first-time visitors to the page, and repeat visitors. An easy way to do this is to use set a session variable (e.g. session.setAttribute()). If you're wanting your form values to persist throughout pages, you can use a JavaBean to store the values as the user navigates through the pages.
for (int i = today; i < endOfTime; i++) { code(); }