You only can get it from the request:
((WebRequest)getRequestCycle().getRequest()).getHttpServletRequest.getSession().

Eelco


On 5/5/06, Ingram Chen <[EMAIL PROTECTED]> wrote:
Dear all,

  We try to merge Wicket into a legacy servlet application which use
plain HttpSession to manage loginUser or some resources.
I know there is a WicketFilter to set WebSession into HttpSession,
but we want to keep touch legacy code as few as possible.

How do I obtain httpSession in WebSession ?

Thanks in advance.

--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to