Hi,

 

I wanted to cut down to the minumim interceptors so I removed my references to 
struts-default, by setting struts.configuration.files invarious places, 
documentation confilcts quite a bit

 

<constant name="struts.configuration.files" value="struts.xml"/>  in struts.xml

struts.configuration.files=struts.xml in struts.properties

 

and even tried in web.xml

 

<filter>
<filter-name>struts</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
<init-param>
<param-name>struts.configuration.files</param-name>
<param-value>struts.xml</param-value>
</init-param> 
</filter>

 

becasue it was mentioned in a bug report  
https://issues.apache.org/struts/browse/WW-1966

 

But i still get all 18 of the defaultStack interceptors being called even 
though I have created my own stack and called 

 

<default-interceptor-ref name="football"/>  in the struts.xml for the package, 
also extends="" is set for the package. My own stack gets ignored.

 

Is there something I am doing wrong?

 

struts version 2.1.6

_________________________________________________________________
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009

Reply via email to