is Struts action class a Design Pattern of utility class?

2003-07-16 Thread Denis Wang
Hello, all, I am not sure whether it is a good practice to: eliminate instance variables from Struts action class; and make all methods static. Basically it turns the action class into a utility class. Any comments? Thanks. Denis

RE: is Struts action class a Design Pattern of utility class?

2003-07-16 Thread Andrew Hill
: Denis Wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, 16 July 2003 22:29 To: Struts Users Mailing List Subject: is Struts action class a Design Pattern of utility class? Hello, all, I am not sure whether it is a good practice to: eliminate instance variables from Struts action class; and make all

Re: is Struts action class a Design Pattern of utility class?

2003-07-16 Thread David Graham
--- Denis Wang [EMAIL PROTECTED] wrote: Hello, all, I am not sure whether it is a good practice to: eliminate instance variables from Struts action class; and make all methods static. Basically it turns the action class into a utility class. Any comments? Thanks. Do *not* make your methods

Re: is Struts action class a Design Pattern of utility class?

2003-07-16 Thread Sandeep Takhar
You can still have static methods on the action, just no instance variables that you update. No instance variables on actions is generally the case. sandeep --- David Graham [EMAIL PROTECTED] wrote: --- Denis Wang [EMAIL PROTECTED] wrote: Hello, all, I am not sure whether it is a good