-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I want to set the HTTPSession variable in the servlet, and the the same session variable i want to use in my zul pages. how can i achieve this?
Kindly respond me..
Regards,
Sunil Kumar Dubey
You can get the current ZK-Session via:
org.zkoss.zk.ui.Sessions.getCurrent()
If you'll need the native session of your web-app-container, you can use:
org.zkoss.zk.ui.Sessions.getCurrent().getNativeSession()
HTH, Maik
Asked: 2009-08-01 17:10:45 +0800
Seen: 359 times
Last updated: Aug 02 '09