RE: Desing Question

2003-09-15 Thread Robert Taylor
saved. robert > -Original Message- > From: deepaksawdekar [mailto:[EMAIL PROTECTED] > Sent: Monday, September 15, 2003 11:12 AM > To: Struts Users Mailing List > Subject: Desing Question > > > Hello, > I have a separate Data Object and Action Form bean.

Desing Question

2003-09-15 Thread deepaksawdekar
Hello, I have a separate Data Object and Action Form bean. In my form beans have a attribute which corresponds to Data Object. And had written a separate setter and getter methods for each attribute of Data object and some addition required for working of struts. Like this. e.g. public class Co

Re: one desing question, Revisited

2003-02-03 Thread Malik Recoing
; > > > > > > > [EMAIL PROTECTED] 01/31/03 08:41AM >>> > > I'm going to save you from getting flamed java does not allow > > multiple > > inheritance. You can only extend from a single Object. > > > > -Jacob > > > > >

Re: one desing question, Revisited

2003-01-31 Thread Matthew Meyer
tion wouldn't pass itself, it would > pass its class. > > -Original Message- > From: John Espey [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 10:10 AM > To: Struts Users Mailing List > Subject: RE: one desing question, Revisited > > >

Re: one desing question, Revisited

2003-01-31 Thread Cory Newey
ng provider of Net services software > > > > > > [EMAIL PROTECTED] 01/31/03 08:41AM >>> > I'm going to save you from getting flamed java does not allow > multiple > inheritance. You can only extend from a single Object. > > -Jacob > > >

Re: one desing question, Revisited

2003-01-31 Thread Malik Recoing
; > Ashish > > > --- John Espey <[EMAIL PROTECTED]> wrote: > > sorry, the action wouldn't pass itself, it would > > pass its class. > > > > -----Original Message- > > From: John Espey [mailto:[EMAIL PROTECTED]] > > Sent: Frida

Re: one desing question, Revisited

2003-01-31 Thread Malik Recoing
single Object. > > -Jacob > > > -Original Message- > > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] > > Sent: Friday, January 31, 2003 9:34 AM > > To: [EMAIL PROTECTED] > > Subject: one desing question, Revisited > > > > Hi, > > &g

RE: one desing question, Revisited

2003-01-31 Thread Ashish Kulkarni
; -Original Message- > From: John Espey [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 10:10 AM > To: Struts Users Mailing List > Subject: RE: one desing question, Revisited > > > You could create a CommonFunctionsFactory, with a > method: > > Commo

RE: one desing question, Revisited

2003-01-31 Thread John Espey
sorry, the action wouldn't pass itself, it would pass its class. -Original Message- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 10:10 AM To: Struts Users Mailing List Subject: RE: one desing question, Revisited You could create a CommonFunctionsFa

RE: one desing question, Revisited

2003-01-31 Thread John Espey
ginal Message- From: Matthew Meyer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 10:00 AM To: Struts Users Mailing List Subject: Re: one desing question, Revisited What you will want to is make your commonFunctions an interface. Next write a class to implement all of your common func

Re: one desing question, Revisited

2003-01-31 Thread Malik Recoing
Friday, January 31, 2003 4:34 PM , Ashish Kulkarni <[EMAIL PROTECTED]> a écrit : > Hi, > > When i was thinking about my problem, I think what i > want to do in multiple inhereteance > I want to define a class called CommonFunctions , this > call will have methods which are common, (As name > sugges

Re: one desing question, Revisited

2003-01-31 Thread Matthew Meyer
: I'm going to save you from getting flamed java does not allow multiple inheritance. You can only extend from a single Object. -Jacob | -Original Message- | From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] | Sent: Friday, January 31, 2003 9:34 AM | To: [EMAIL PROTECTED] | Su

RE: one desing question, Revisited

2003-01-31 Thread Cory Newey
03 9:34 AM | To: [EMAIL PROTECTED] | Subject: one desing question, Revisited | | Hi, | | When i was thinking about my problem, I think what i | want to do in multiple inhereteance | I want to define a class called CommonFunctions , this | call will have methods which are common, (As name | suggest) |

RE: one desing question, Revisited

2003-01-31 Thread Ashish Kulkarni
getting flamed java > does not allow multiple > inheritance. You can only extend from a single > Object. > > -Jacob > > | -Original Message- > | From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED]] > | Sent: Friday, January 31, 2003 9:34 AM > | To: [EM

RE: one desing question, Revisited

2003-01-31 Thread Jacob Hookom
bject: one desing question, Revisited | | Hi, | | When i was thinking about my problem, I think what i | want to do in multiple inhereteance | I want to define a class called CommonFunctions , this | call will have methods which are common, (As name | suggest) | now i have to do some thing like | p

one desing question, Revisited

2003-01-31 Thread Ashish Kulkarni
Hi, When i was thinking about my problem, I think what i want to do in multiple inhereteance I want to define a class called CommonFunctions , this call will have methods which are common, (As name suggest) now i have to do some thing like public class MyAction extends Action, CommonFuntions and

RE: one desing question, need help

2003-01-31 Thread Bredesen, Chris - NA US HQ Delray
ndrew Hill [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 10:41 PM > To: Struts Users Mailing List > Subject: RE: one desing question, need help > > > Shared utility class is probably your best bet. > > In my app, I actually created my own dispatch action

RE: one desing question, need help

2003-01-30 Thread Ashish Kulkarni
. > > -Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED]] > Sent: Friday, 31 January 2003 07:30 > To: [EMAIL PROTECTED] > Subject: one desing question, need help > > > Hi, > > I want to write 2 classes , one class say MyAction > ex

RE: one desing question, need help

2003-01-30 Thread Andrew Hill
options to look at. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Friday, 31 January 2003 07:30 To: [EMAIL PROTECTED] Subject: one desing question, need help Hi, I want to write 2 classes , one class say MyAction extends Action and the other class say MyDisp

RE: one desing question, need help

2003-01-30 Thread Jacob Hookom
People use filters for exactly what you are describing-- security and validation. | -Original Message- | From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] | Sent: Thursday, January 30, 2003 6:11 PM | To: Struts Users Mailing List | Subject: RE: one desing question, need help | | Hi

RE: one desing question, need help

2003-01-30 Thread Ashish Kulkarni
hereas > with the filter it isn't necessarily as easy to know > from where the > connection comes) > > > > > > -Original Message- > From: Jacob Hookom [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 5:42 PM > To: 'Struts Users Mailing

RE: one desing question, need help

2003-01-30 Thread Jacob Hookom
layer or struts code, then do a filter-- like getting a connection. | -Original Message- | From: John Espey [mailto:[EMAIL PROTECTED]] | Sent: Thursday, January 30, 2003 5:51 PM | To: Struts Users Mailing List | Subject: RE: one desing question, need help | | indeed, filters do rock. Th

RE: one desing question, need help

2003-01-30 Thread John Espey
with the filter it isn't necessarily as easy to know from where the connection comes) -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:42 PM To: 'Struts Users Mailing List' Subject: RE: one desing question, need help Or, yo

RE: one desing question, need help

2003-01-30 Thread Jacob Hookom
--- | From: John Espey [mailto:[EMAIL PROTECTED]] | Sent: Thursday, January 30, 2003 5:35 PM | To: Struts Users Mailing List | Subject: RE: one desing question, need help | | Just write a singleton class with methods that take the appropriate | parameters, and have both actions delegate to that cl

RE: one desing question, need help

2003-01-30 Thread John Espey
To: [EMAIL PROTECTED] Subject: one desing question, need help Hi, I want to write 2 classes , one class say MyAction extends Action and the other class say MyDispatchAction extends DispatchAction. I want to have some code ( like setting some parameters or getting connection from pool) handled in

one desing question, need help

2003-01-30 Thread Ashish Kulkarni
Hi, I want to write 2 classes , one class say MyAction extends Action and the other class say MyDispatchAction extends DispatchAction. I want to have some code ( like setting some parameters or getting connection from pool) handled in both the classes, but i want to write it in such a way that i d