action 1: private Map session; session.put("projectname_session", request1.getParameter("projectname")); action 2: private HttpSession pnSession =ServletActionContext.getRequest().getSession(); String pn = (String)pnSession.getAttribute("projectname_session");