set Attribute in PageContext

2002-06-04 Thread Herman Matthieu
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

Re: set Attribute in PageContext

2002-06-04 Thread Nicolas De Loof
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