You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sami Dalouche <sk...@free.fr> on 2011/04/08 23:35:23 UTC

overriding struts.xml settings from web.xml

Hi,

http://struts.apache.org/2.x/webxml.html explains how to set struts2 params from web.xml.  I have several questions regarding this :

1/ If the same setting is declared both in web.xml and in struts.xml, which one wins ?
2/ the example sets the setting on StrutsPrepareAndExecuteFilter. What happens if I happen to run StrutsPrepareFilter and StrutsExecuteFilter separately ? Should I set the variables for both filters ?

Thanks,
Sami

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org