DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3752>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3752 JspFactory.getDefaultFactory().getPageContext returns always null ------- Additional Comments From [EMAIL PROTECTED] 2001-09-21 03:47 ------- > The JspFactory.getDefaultFactory() method will only > return a non-null result if someone has called > JspFactory.setDefaultFactory() to set it. ehm, the JspFactory.getDefaultFactory() didn't return null. It returns a object of class org.apache.jasper.runtime.JspFactoryImpl. The getPageContext() method of the JspFactory returns null. <snip type="source"> System.out.println("JspFactory.getDefaultFactory() = " + JspFactory.getDefaultFactory()); System.out.println("JspFactory.getDefaultFactory().getPageContext(...) = " + JspFactory.getDefaultFactory() .getPageContext(this, request, response, "/error.html", false, JspWriter.DEFAULT_BUFFER, true)); </snip> <snip type="output"> JspFactory.getDefaultFactory() = org.apache.jasper.runtime.JspFactoryImpl@2e7820 JspFactory.getDefaultFactory().getPageContext(...) = null </snip> So you don't want to fix/change this behaviour? Is there another possibilty to include one or more Jsp Pages through a Servlet?