de where to send the user.
>
> robert
>
> > -Original Message-
> > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Momin Rashid
> > Sent: Saturday, July 24, 2004 7:54 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Form Bean and decions bas
24, 2004 7:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Form Bean and decions based on Business Logic calls
>
>
> Ok, I guess thats fair enough to keep business logic calls limited to action
> classes only.
>
> How do you suggest I impliemnt the case where the user is sup
t; From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Momin Rashid
> > Sent: Thursday, July 22, 2004 12:30 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Form Bean and decions based on Business Logic calls
> >
> >
> > Thank you for your quick response.
> &g
day, July 22, 2004 12:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Form Bean and decions based on Business Logic calls
>
>
> Thank you for your quick response.
>
> I do have the appropriate action class with the desired forwards defined (as
> you have also outlined), but
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad
> Momin Rashid
> Sent: Thursday, July 22, 2004 9:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Form Bean and decions based on Business Logic calls
>
>
> Thank you for your quick r
Thank you for your quick response.
I do have the appropriate action class with the desired forwards defined (as
you have also outlined), but the problem is that the form bean itself is
making the business logic calls to get its desired data. Upon failure to
get the desired data, how can I forward
Define success and failure forwards in your struts-config file for the
specified action.
In the action class (which should delegate to a business object),
retrieve the data. Upon failure, forward to the "failure" forward,
else forward to the "success" forward.
You could achieve the same using de
7 matches
Mail list logo