struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumar M <kumar...@netscape.net>
Subject Re: Custom ActionForward subclass in web.xml
Date Thu, 08 Apr 2004 22:35:28 GMT
Deprecated in 1.1
Not sure if there is a replacement mechanism other than adding 
"className" to each forward element.

ROY.C.PAUL.III@saic.com wrote:

>Deprecated in 1.2 or in 1.1?  Is there a replacement mechanism?
>
>-----Original Message-----
>From: Kumar M [mailto:kumarm54@netscape.net] 
>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.
>
>ROY.C.PAUL.III@saic.com 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: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>> 
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>  
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message