RE: creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread Mohan Radhakrishnan
I remember that this is done to use custom properties in your action mapping
in the struts-config.xml file.


  
  


You can access them in your action.

Mohan

-Original Message-
From: deepak saini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 6:08 PM
To: [EMAIL PROTECTED]
Subject: creating a class that extends Action Mapping...what is the
purpose of it?


Hi,

I was trying one struts example. In that example, it has created one class
whcih extends ActionMapping class. I was just wondering why we need to
create this class and when is it used and whether we define this class in
struts-config or web.xml?

Regards
Deepak Saini

_
Contact brides & grooms FREE! Only on www.shaadi.com.
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread Nicolas De Loof
Sometime we need to add some info to struts mappings, and for this we use a class that 
extends ActionMapping. As an
example, we need for a webapp to add a "description" to any mapping to build some 
stats.

DescActionMapping defines a "description" attribute.

every action-mapping in struts-config sets this property :










(...)

Nico.



> Hi,
>
> I was trying one struts example. In that example, it has created one class
> whcih extends ActionMapping class. I was just wondering why we need to
> create this class and when is it used and whether we define this class in
> struts-config or web.xml?
>
> Regards
> Deepak Saini
>
> _
> Contact brides & grooms FREE! Only on www.shaadi.com.
> http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



creating a class that extends Action Mapping...what is the purpose of it?

2003-12-31 Thread deepak saini
Hi,

I was trying one struts example. In that example, it has created one class 
whcih extends ActionMapping class. I was just wondering why we need to 
create this class and when is it used and whether we define this class in 
struts-config or web.xml?

Regards
Deepak Saini
_
Contact brides & grooms FREE! Only on www.shaadi.com. 
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]