You worry too much! You can use forward. Even if the user refresh the page
when the url dosen't corresponds to the current page, no big problem will
occur. the IE will resend the data that is collected from the previous page
to the server. The only thing will happen is the error-messages showing pa
oh, thank you for your help, I will try to use it, again, thank you :)
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, April 12, 2006 7:03 PM
Subject: Re: [URGEN] Validation in Action and using r
If you used one action to accept user input like processRegForm.do,
and another to display the page like showRegForm.do, you could
logically separate input and output phases. See this for some
insights: http://wiki.apache.org/struts/DataEntryForm
Michael.
On 4/11/06, Pham Anh Tuan <[EMAIL PROTECT
Hi bowlkhin,
the approach that I used is this:
I have a JSP tile which just contains the HTML for errors and messages
display.
I put a scriptlet in this tile after the errors and messages tags.
The scriptlet removes the error or message from the session.
Hope that helps.
Adam
Pham Anh Tua
Hi all,
case:
I use Tiles and Velocity for presentation layer
com.project.GeneratedKeyAction: will generated and register information of code
or capcha (or do something here - retrieve list of user type from DB, etc) to
session scope.
after user fullfill registration form, he/she
5 matches
Mail list logo