Thanks!

----- Original Message ----- 
From: "Robert Taylor" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Asif Rahman"
<[EMAIL PROTECTED]>
Sent: Friday, June 25, 2004 4:21 PM
Subject: RE: Is it possible to reuse the same FormBean with different
actions?


> Use different action mappings with same form bean.
> Each action mapping can have a different input attribute value
> for validation.
>
> robert
>
> > -----Original Message-----
> > From: Asif Rahman [mailto:[EMAIL PROTECTED]
> > Sent: Friday, June 25, 2004 3:52 PM
> > To: Struts Users Mailing List
> > Subject: Is it possible to reuse the same FormBean with different
> > actions?
> > Importance: High
> >
> >
> > I have a few jsp pages that use almost the same information.  I am using
a formbean for one of them right now for
> > validation.  Of course I'd like to re-use the this same bean with the
other jsp pages too since the info is so similar.
> > But here's the catch, theres only one "input" field in an action
mapping, meaning it will always send the user back to
> > the same jsp page if validation fails, rather than different ones.  Is
there some other element in the action mapping I
> > can set to get around this?  I can always have 2 or 3 formbeans and copy
properties from one to the other, but that
> > doesnt seem like a very good solution to me. Does anyone have any ideas?
> >
> > -Asif
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to