users@tyrus.java.net

Re: HttpSession returns null

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Mon, 18 Feb 2013 09:26:08 +0100

On 2/18/13 1:34 AM, Arun Gupta wrote:
> Using GlassFish b76, trying to access HttpSession as:
>
> @Override
> public void modifyHandshake(HandshakeRequest request,
> HandshakeResponse response) {
> HttpSession httpSession = (HttpSession)request.getSession();
> System.out.println(httpSession);
> System.out.println("Invoked from: " +
> httpSession.getServletContext().getContextPath());
> super.modifyHandshake(request, response);
> }
>
> But its returned as null. Is this functionality not implemented yet ?

no, it is not :/

see http://java.net/jira/browse/TYRUS-60.

Pavel

>
> Arun
>