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]