public static boolean include ( final ServletRequest request , final ServletResponse response , final String page ) throws IOException , ServletException { RequestDispatcher dispatcher = request . getRequestDispatcher ( page ) ; if ( dispatcher != null ) { dispatcher . include ( request , response ) ; return true ; } return false ; }
Include page which path is relative to the current HTTP request .