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


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.

Reply via email to