In most cases WebSession is available via: WebSession.get()
Can you provide quickstart application?

On Mon, May 28, 2018 at 6:41 PM, JavaTraveler <meteor.ei...@gmail.com> wrote:
> Thanks for the advice, I subscribed.
>
>
> I'm sorry to be a bother, but I don't get it.
>
> I already was using the wicket guide.
> And yet, I don't get how to use the session class.
>
> I have made a class extending Session (I have also tried WebSession).
> Then I try to access it on another class.
>         HttpSession pan = ((ServletWebRequest)RequestCycle.get().
>                         getRequest()).getContainerRequest().getSession();
>
> But it doesn't work I get a null exception.
>
> I missing something, but I can't see what.
> Any idea ?
>
> --
> Sent from: 
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
WBR
Maxim aka solomax

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

Reply via email to