MR 1. Look up an ActionMapping.
MR 2. If the ActionMapping has an ActionForm specified, it instantiates
MR(or
MR retrieves from session scope) the ActionForm and populates it based on
MR the request.
MR 3. If the ActionMapping specifies validate, Struts calls the
MR ActionForm's
MR Hi, If I return a non-empty ActionError from my validate method,
MR struts should return to the same JSP. This will happen if I specify
MR the input parameter for the action mapping.
MR Is this right ? It doesn't seem to work that way. Am I missing
MR something ?
You should use
return
Hi,
Thanks. I though it was automatic ?
bye,
Mohan
-Original Message-
From: Max Kutny [mailto:mkut;umc.com.ua]
Sent: Thursday, November 07, 2002 6:13 PM
To: Struts Users Mailing List
Subject: Re: Return to same JSP
MR Hi, If I return a non-empty ActionError from my validate method
Users Mailing List'
Subject: RE: Return to same JSP
Hi,
Thanks. I though it was automatic ?
bye,
Mohan
-Original Message-
From: Max Kutny [mailto:mkut;umc.com.ua]
Sent: Thursday, November 07, 2002 6:13 PM
To: Struts Users Mailing List
Subject: Re: Return to same JSP
MR Hi, If I return
-
From: Homer, Christopher [mailto:Christopher.Homer;ds-s.com]
Sent: Thursday, November 07, 2002 6:30 PM
To: 'Struts Users Mailing List'
Subject: RE: Return to same JSP
providing you perform the validation in your ActionForm method:
public ActionErrors validate (ActionMapping mapping
/
/action
Kurt Madel
Programmer, CSMi
(703) 823-4300 ext. 170
-Original Message-
From: Mohan Radhakrishnan [mailto:MohanR;hclcomnet.co.in]
Sent: Thursday, November 07, 2002 8:26 AM
To: 'Struts Users Mailing List'
Subject: RE: Return to same JSP
Hi,
That is what I meant in my first
6 matches
Mail list logo