Struts design: All actions in one ActionClass

2002-12-11 Thread Jordan Thomas
Hi, What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class or b) Use a seperate action class for every action in my application or c) Put all of the actions for a

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Nelson, Laird
-Original Message- From: Jordan Thomas [mailto:[EMAIL PROTECTED]] What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class or b) Use a seperate action

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread Patrice
] Sent: Wednesday, December 11, 2002 7:05 PM Subject: Struts design: All actions in one ActionClass Hi, What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class or b

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread David Graham
: Struts design: All actions in one ActionClass Date: Wed, 11 Dec 2002 19:05:36 +0100 Hi, What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class or b) Use a seperate action

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Chappell, Simon P
:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:06 PM To: Struts-User Subject: Struts design: All actions in one ActionClass Hi, What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Ron Day
where do you do your business logic ? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:52 PM To: Struts Users Mailing List Subject: RE: Struts design: All actions in one ActionClass Abolutely go with option B. We did

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Chappell, Simon P
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 1:01 PM To: Struts Users Mailing List Subject: RE: Struts design: All actions in one ActionClass where do you do your business logic ? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Jordan Thomas
-User [EMAIL PROTECTED] Subject: Struts design: All actions in one ActionClass Date: Wed, 11 Dec 2002 19:05:36 +0100 Hi, What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread David Graham
PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts design: All actions in one ActionClass Date: Wed, 11 Dec 2002 20:43:51 +0100 Does this also count for the JSP's? It would seem that it would be better to reuse the JSp's

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread Rick Reumann
On Wednesday, December 11, 2002, 1:05:36 PM, Jordan wrote: JT a) Put all my actions for a particluar area (i.e. creating, editing and JT deleting user accounts) in one Action class I guess I am in the minority here but lately I've been building one big DispatchAction class that acts as

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Greg.Reddin
Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 2:09 PM To: [EMAIL PROTECTED] Subject: RE: Struts design: All actions in one ActionClass I apply this theory to jsps as well. Each JSP displays one thing; otherwise, you'll end up with something

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread Rob Leland
Thomas [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject: Struts design: All actions in one ActionClass Date: Wed, 11 Dec 2002 19:05:36 +0100 Hi, What is the best way to design my application? Is it better to a) Put all my actions

Re[2]: Struts design: All actions in one ActionClass

2002-12-11 Thread Rick Reumann
On Wednesday, December 11, 2002, 4:16:31 PM, Rob wrote: RL One of the developers that took over the project merged a number of the RL actions RL edit, delete, create, list into one big ugly mess. Was this all being done a 'normal' action class or a DispatchAction class? I think a

RE: Re[2]: Struts design: All actions in one ActionClass

2002-12-11 Thread Greg.Reddin
Subject: Re[2]: Struts design: All actions in one ActionClass On Wednesday, December 11, 2002, 4:16:31 PM, Rob wrote: RL One of the developers that took over the project merged a number of the RL actions RL edit, delete, create, list into one big ugly mess. Was this all being

RE: Re[2]: Struts design: All actions in one ActionClass

2002-12-11 Thread Wendy Smoak
Well, I guess I'll have to look into the DispatchAction thing. I've not heard of it before today. It sounds real similar to what we're doing. Also see LookupDispatchAction which works great if you have one form with several different actions that could happen depending on which button the user

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread David Graham
will be small. David From: Rick Reumann [EMAIL PROTECTED] Reply-To: Rick Reumann [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts design: All actions in one ActionClass Date: Wed, 11 Dec 2002 15:51:37 -0500 On Wednesday, December 11, 2002, 1:05:36 PM