org.apache.cocoon.environment.http.HttpSession
net.jatec.ironmailer.controller.MailWorkerBean

# overview_title

// jwk: set expires tag in http response header. This is essential in // Cocoon 2.0 because there is no other way to avoid caching proxies // from caching // TO DO : when moving to Cocoon 2.1, remove this and configure // expires within pipeline response.setHeader("expires","0"); response.setHeader("pragma", "no-cache");

HttpSession session = (HttpSession)request.getSession(false); MailWorkerBean w = (MailWorkerBean)session.getAttribute("workerBean"); w.getUser() w.getFirstPage()