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

Reply via email to