On Thu, Jan 19, 2012 at 1:39 PM, Oscar Besga <[email protected]> wrote:
> TILT I learned how to access server session and context in Wicket 1.5
>
> Wicket 1.4
> <code>
>    HttpSession httpSession =
> ((WebRequest)getRequest()).getHttpServletRequest().getSession();
> </code>
>
>
> Wicket 1.5
>
> <code>
>    HttpServletRequest httpServletRequest =
> (HttpServletRequest)getRequest().getContainerRequest();
>    HttpSession httpSession = httpServletRequest.getSession();
>    ServletContext servletContext = httpSession.getServletContext();
> </code>
>
>
> That's my post here, hi to everybody

hi :-)

>
>             > > > Oscar Besga Arcauz < < <



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to