code: public void include( ServletRequest request, ServletResponse response )
              throws ServletException, IOException
      {
          assert request instanceof HttpServletRequest : request.getClass().getName();
          HttpServletRequest httpRequest = ( HttpServletRequest ) request;
          
          //
          // First, unwrap the request and response, looking for our ScopedRequest and ScopedResponse.
          //
          HttpServletRequest outerRequest = ScopedServletUtils.getOuterRequest( httpRequest );
          
          //
          // Need to set the "javax.servlet.include.request_uri" attribute on the outer request
          // before forwarding with a request dispatcher.  This attribute is used to keep track of
          // the included URI.
          //
          outerRequest.setAttribute( REQUEST_URI_INCLUDE, httpRequest.getRequestURI());
          
          if ( logger.isDebugEnabled() )
          {
              logger.debug( "Delegating to RequestDispatcher for URI " + _uri );
          }
          
          try
          {
              RequestDispatcher realDispatcher = outerRequest.getRequestDispatcher( _uri );
              
              if ( realDispatcher == null )
              {
                  assert response instanceof HttpServletResponse : response.getClass().getName();
                  ( ( HttpServletResponse ) response ).setStatus( HttpServletResponse.SC_NOT_FOUND );                
                  logger.error( "Could not get RequestDispatcher for URI " + _uri );
              }
              else
              {
                  realDispatcher.include( request, response );
              }
          }
          catch ( ServletException e )
          {
              logger.error( "Exception during RequestDispatcher.include().", e.getRootCause() );
              
              throw e;
          }
      }
docs: Does a server include of the stored URI into the given ScopedRequest and ScopedResponse.
  
  @param request the ScopedRequest, or a wrapper (ServletRequestWrapper) around it.
  @param response the ScopedResponse, or a wrapper (ServletResponseWrapper) around it.