May be using this can help : HttpSession session = ((HttpServletRequest) request).getSession();
2009/10/6 su2 <shu...@pexsupply.com> > > Hello Friends, > > I was trying to retrieve the session value using following code in Java > Method. But it gives me error -"session" can not be resolved. > > ------------------------------------------------------------- > String fromDate = session.getAttribute("fromDate"); > ------------------------------------------------------------- > > Am I missing something? > > Thank you for the help in advance. > > Su- > > -- > View this message in context: > http://www.nabble.com/How-to-get-session-variable-value-in-Java-Method--tp25774516p25774516.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > >