I want to set Attribute in the page scope.
in my Action I have this code to get the PageContext :
JspFactory factory = JspFactory.getDefaultFactory();
PageContext pageC = factory.getPageContext(getServlet(), request,
response,, true, 8192, false);
but when I compare the
Page scope does only exist during the execution of your JSP page (compiled
as a Servlet). As your action is called by ActionServlet,
JspFactory.getDefaultFactory(); returns a pageContext for the ActionServlet
(that has not been generated from a JSP file, so it's strange to call this
method from a
2 matches
Mail list logo