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

             > > > Oscar Besga Arcauz < < <

Reply via email to