You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Nils-Helge Garli (JIRA)" <ji...@apache.org> on 2008/12/10 18:35:37 UTC
[jira] Commented: (WW-2764) Cannot set a list of values on
ChainingInterceptor's excludes property
[ https://issues.apache.org/struts/browse/WW-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45221#action_45221 ]
Nils-Helge Garli commented on WW-2764:
--------------------------------------
Seems like other interceptors that have similar properties accept them as a String. Is that possible to do here as well (like the "excludeParams" and "acceptParams" in ParametersInterceptor)?
> Cannot set a list of values on ChainingInterceptor's excludes property
> ----------------------------------------------------------------------
>
> Key: WW-2764
> URL: https://issues.apache.org/struts/browse/WW-2764
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 2.0.11.1
> Reporter: Bob Tiernay
> Fix For: 2.1.3
>
>
> The following struts.xml configuration does not work as expected:
> <interceptor-ref name="defaultStack">
> <param name="chain.excludes">session,servletRequest,servletResponse</param>
> </interceptor-ref>
> This will simply create the value "session,servletRequest,servletResponse" inside excludes[0].
> This was noted in:
> http://www.nabble.com/Chain-Interceptor-%22excludes%22-param-td8507234.html
> However, the proposed solution of:
> <interceptor-ref name="defaultStack">
> <param name="chain.excludes">{'session','servletRequest','servletResponse'}</param>
> </interceptor-ref>
> does not work either.
> Need to update the documentation as well to illustrate how to use this property
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.