[ 
https://issues.apache.org/struts/browse/WW-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43833#action_43833
 ] 

pawan commented on WW-2618:
---------------------------

another observation.

If i set the default parent package, instead of default package, the 
interceptors are picked up correctly.

It seems that code behind retrieves the def interceptor from parent rather than 
child packages.




> struts.codebehind.defaultPackage
> --------------------------------
>
>                 Key: WW-2618
>                 URL: https://issues.apache.org/struts/browse/WW-2618
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - CodeBehind
>         Environment: Spring 2.5, Tomcat, Struts 2 + Code behind, Windows XP 
> SP2
>            Reporter: pawan
>         Attachments: StrutsInterceptorTest.zip
>
>
> an entry in struts.xml of <constant name="struts.codebehind.defaultPackage" 
> value="my-default-package" /> does not override the default package name.
> my struts.xml is being loaded after the struts-plugin.xml which would have 
> already set the value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to