session/application variable set in JSP, lookup in Servlet.
posted 14 years ago
Hi all, I have set a session, application var. in a JSP as follows: <% .. session.setAttribute("debugmode",String.valueOf(debugmode)); getServletContext().setAttribute("log",log); .. %> then this JSP will call a Servlet and from that Servlet I am try to use those session, application var. as follows: