Well there is for global forwards, but it seems to be missing for the
forwards in an action. For global forwards you can create your own
ModuleConfigFactory, in which you can set the global forward class name (as
well as the Action Mapping class). But from what I see, you can't change the
default class for forwards in the action.

I'm going to ask about this on the devlopers list because it looks like an
oversight to me.

Niall

----- Original Message ----- 
From: "Kumar M" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 08, 2004 11:35 PM
Subject: Re: Custom ActionForward subclass in web.xml


> Deprecated in 1.1
> Not sure if there is a replacement mechanism other than adding
> "className" to each forward element.
>
> [EMAIL PROTECTED] wrote:
>
> >Deprecated in 1.2 or in 1.1?  Is there a replacement mechanism?
> >
> >-----Original Message-----
> >From: Kumar M [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, April 08, 2004 4:45 PM
> >To: Struts Users Mailing List
> >Subject: Re: Custom ActionForward subclass in web.xml
> >
> >
> >
> >You could use the "forward" param for ActionServlet:
> >
> >        <init-param>
> >          <param-name>forward</param-name>
> >          <param-value>com.this.is.my.CustomActionForward</param-value>
> >        </init-param>
> >
> >But, I think this is deprecated.
> >
> >[EMAIL PROTECTED] wrote:
> >
> >
> >
> >>I ready how to do this once, and I can't seem to find the
> >>doc/article/email I read it in.
> >>
> >>I want to make my subclass of ActionForward the default used by the
> >>entire application, so I don't have to do:
> >>
> >><forward className="....."/>
> >>
> >>Every time I want to use it.  I know there's something you can put in
> >>web.xml that tells struts which class to use, can anyone send me a
> >>snippet or point me to something you have bookmarked?
> >>
> >>Chip Paul
> >>Sr Software Engineer
> >>ComFrame Software Corporation
> >>
> >>Listen.Understand.Innovate
> >>www.comframe.com
> >>
> >>
> >>---------------------------------------------------------------------
> >>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]
> >
> >---------------------------------------------------------------------
> >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]

Reply via email to