struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Roughley <...@fdar.com>
Subject Re: Extending ActionConfig in Struts2
Date Wed, 08 Aug 2007 16:01:27 GMT
Have you tried overriding the struts.configuration property with a new 
Confguration class that builds and returns your new ActionConfig?


Vinod Singh wrote:
> Any clues??
>
> Thanks,
>
> Vinod
> -------- Original Message --------
> Subject: Extending ActionConfig in Struts2
> From: Vinod Singh <vinod.singh@agreeya.com>
> To: user@struts.apache.org <user@struts.apache.org>
> Date: Tuesday, August 07, 2007 3:05:36 PM
>> Hi All,
>>
>> The Struts 1.x provides a facility to extend the ActionMapping by
>> defining it in web.xml in following manner-
>>
>>     <init-param>
>>         <param-name>mapping</param-name>
>>         <param-value>CustomActionMapping</param-value>
>>     </init-param>
>>
>> In Struts 2.x I don't see anyway to extend ActionConfig.
>>
>> The ActionConfig class is hard coded in addAction(...) method of
>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.
>>
>> Can anyone guide me in extending ActionConfig, if I am missing 
>> something?
>>
>> Thanks,
>>
>> Vinod
>>
>>
>>   
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message