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.
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
;
> >
> > > > > [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
> >
> > >
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
>
>
>
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
>
> >
;
> 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
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
; -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
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
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
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
:
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
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)
|
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
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
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
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
.
>
> -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
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
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
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
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
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
---
| 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
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
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
26 matches
Mail list logo