Thanks, that's enlightening.
On Mon, Nov 26, 2012 at 3:41 PM, Maurizio Cucchiara <mcucchi...@apache.org>wrote: > On 26 November 2012 09:25, Wu Ming <rdyf4e...@gmail.com> wrote: > > > > Oh, so that means there is no point to define the params interceptor in > > Action mapping (as seen below) because it's included in > struts-default.xml? > > > > <action name="someAction" class="com.examples.SomeAction"> > > <interceptor-ref name="params"/> > > <result name="success">result.jsp</result> > > </action> > > > > > Not exactly, it depends on your extends attribute present on package > definition: > > <package name="...." extends="*****struts-default****" namespace="/"> > > You can take a look at struts-default declaration at [1] > > [1] http://struts.apache.org/2.x/docs/struts-defaultxml.html > > > Twitter :http://www.twitter.com/m_cucchiara > G+ :https://plus.google.com/107903711540963855921 > Linkedin :http://www.linkedin.com/in/mauriziocucchiara > VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara > > Maurizio Cucchiara > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >