2012/4/11 Maurizio Cucchiara <mcucchi...@apache.org>:
> Hi Lukasz,
>
>> +            actionContext.setSession(new HashMap<String, Object>());
>
>
> what about setting session at a lower level (I didn't test though):
>
> request.setSession(new MockHttpSession(servletContext));

but basically, the S2 actions shouldn't depend on the raw servlet
objects, but maybe it'd be good to test interceptors


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

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

Reply via email to