that means session has not yet been created. you should use
Session.exists() to test for this.

-igor

On Mon, Jul 27, 2009 at 7:38 AM, Altuğ B. Altıntaş<alt...@gmail.com> wrote:
> Hi all ;
>
>
> I am working on WicketSessionFilter for a while and i have problem about
> accessing Wicket Session in my Servlet.
>
> My question is :
>
> In WicketSessionFilter.java (core class in wicket.1.3.6.jar)   at doFilter()
> method
>
> HttpSession httpSession = httpServletRequest.getSession(false);
>
> above code returns the session.  But when my servlet post a request then
> above code returns NULL . It  can not get the standard session object when a
> simple servlet post a request.
>
> Any idea why a servlet http post cause null http session in
> WicketSessionFilter.java ?
>
> Thanks.
>
> Altug.
>
>
>
> --
> Altuğ.
>

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

Reply via email to