luehe 2002/08/19 16:25:42 Modified: jasper2/src/share/org/apache/jasper/runtime PageContextImpl.java Log: Implemented new PageContext method include(String relativeUrlPath, boolean flush) Revision Changes Path 1.17 +14 -12 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java Index: PageContextImpl.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- PageContextImpl.java 19 Aug 2002 16:54:17 -0000 1.16 +++ PageContextImpl.java 19 Aug 2002 23:25:42 -0000 1.17 @@ -395,21 +395,23 @@ } public void include(String relativeUrlPath) - throws ServletException, IOException - { + throws ServletException, IOException { + JspRuntimeLibrary.include((HttpServletRequest) request, (HttpServletResponse) response, - relativeUrlPath, out, true); - /* - String path = getAbsolutePathRelativeToContext(relativeUrlPath); - context.getRequestDispatcher(path).include( - request, new ServletResponseWrapperInclude(response, out)); - */ + relativeUrlPath, + out, + true); } public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException { - include(relativeUrlPath, false); // XXX + + JspRuntimeLibrary.include((HttpServletRequest) request, + (HttpServletResponse) response, + relativeUrlPath, + out, + flush); } public VariableResolver getVariableResolver() {
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>