Re: Action Class Reusable

2004-09-01 Thread Craig McClanahan
fferent business classes (particular to a module) and > make these business classes implement a common interface? > I have only a vague idea till now about this.Can someone elaborate? > While it's really simple to make an Action class reusable:

RE: Action Class Reusable

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Jitesh Sinha [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 5:43 AM > To: Struts Users Mailing List > Subject: Action Class Reusable > > > Hi All, > > Is there a way we can make our Action Classes reusable

RE: Action Class Reusable

2004-09-01 Thread Jitesh Sinha
Thanks Leonthat was useful.. I have never used DispatchAction ...need to study it a little. -Original Message- From: Rosenberg, Leon [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 6:51 PM To: Struts Users Mailing List Subject: AW: Action Class Reusable If you

RE: Action Class Reusable

2004-09-01 Thread Jitesh Sinha
Thanks Yves...that was valuable input -Original Message- From: Yves Sy [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 6:42 PM To: Struts Users Mailing List Subject: Re: Action Class Reusable Hi, Some action classes can be made reusable, such as actions that add

AW: Action Class Reusable

2004-09-01 Thread Rosenberg, Leon
better) action hierarchy. Regards Leon > -Ursprüngliche Nachricht- > Von: Jitesh Sinha [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 1. September 2004 14:43 > An: Struts Users Mailing List > Betreff: Action Class Reusable > > Hi All, > > Is there a way we can make our Action C

Re: Action Class Reusable

2004-09-01 Thread Yves Sy
Hi, Some action classes can be made reusable, such as actions that add attachments. You have to try to make your code as generic as possible in these actions and simply define a different path in the forward of the corresponding ActionMapping. But these are generally rare cases. Often times, its

Action Class Reusable

2004-09-01 Thread Jitesh Sinha
Hi All, Is there a way we can make our Action Classes reusable across different modules? Generally we have one Action class for every module.Maybe,if we put our business logic in different business classes (particular to a module) and make these business classes implement a common interface? I hav