The documentation on this confuses me, so I cannot tell you whether this
pattern is "correct", but it does seem to work:
public class EditARecordAction extends SomeBaseAction {
public static String VIEW = "viewEditForm";
public static final String UPDATE = "processEditForm";
public ActionFo
My attention is to prevention duplicated submission.
I have refered to the struts-example.
It checks the valid of token by IsValidToken().
However when a form is displayed at the first time,
it always is invalid.
Moreover, according to the struts-example, it
saveToken when it finds error.
The beh
Ping Cheung Leung wrote:
>I have a web page presented by JSP only.
>No data to input. It contains several links only.
>
>If I click one of the links on the web page,
>It will go to another web page with a form to input
>data.
>If I want the form to have a token generated
>when the form first appe
I have a web page presented by JSP only.
No data to input. It contains several links only.
If I click one of the links on the web page,
It will go to another web page with a form to input
data.
If I want the form to have a token generated
when the form first appears.
How can I code it?
The proce
4 matches
Mail list logo