You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2015/06/23 12:11:31 UTC

overrideDevMode

Hi,

Do you know how does it work?

https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java#L239-L256

I mean, how the value is set? via context-param or what? I want to
move this into InitOperations but I'm not sure if this will work.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Re: overrideDevMode

Posted by Lukasz Lenart <lu...@apache.org>.
2015-06-23 16:35 GMT+02:00 Christoph Nenning <Ch...@lex-com.net>:
>> From: Lukasz Lenart <lu...@apache.org>
>> To: Struts Developers List <de...@struts.apache.org>,
>> Date: 23.06.2015 12:49
>> Subject: overrideDevMode
>>
>> Hi,
>>
>> Do you know how does it work?
>>
>> https://github.com/apache/struts/blob/master/core/src/main/java/org/
>> apache/struts2/dispatcher/FilterDispatcher.java#L239-L256
>>
>> I mean, how the value is set? via context-param or what? I want to
>> move this into InitOperations but I'm not sure if this will work.
>>
>
>
> From javadoc I would guess it is intended to be set manually by a custom
> ServletFilter. But as I see you dropped the whole class so I guess it does
> not matter anymore ;)

Yeah... I came to the same conclusion and moved the code to
PrepareOperations class before dropping FilterDispatcher ;-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Re: overrideDevMode

Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Lukasz Lenart <lu...@apache.org>
> To: Struts Developers List <de...@struts.apache.org>, 
> Date: 23.06.2015 12:49
> Subject: overrideDevMode
> 
> Hi,
> 
> Do you know how does it work?
> 
> https://github.com/apache/struts/blob/master/core/src/main/java/org/
> apache/struts2/dispatcher/FilterDispatcher.java#L239-L256
> 
> I mean, how the value is set? via context-param or what? I want to
> move this into InitOperations but I'm not sure if this will work.
> 


>From javadoc I would guess it is intended to be set manually by a custom 
ServletFilter. But as I see you dropped the whole class so I guess it does 
not matter anymore ;)



This Email was scanned by Sophos Anti Virus