Wednesday, 22 June 2011

Session object -> set & get

HttpSession session = httpServletRequest.getSession();

Usage
=====
(1)Type object = (Type) session.getAttribute("name");

(2)session.setAttribute("name", object);

No comments:

Post a Comment