request:实现页面包含

//网头
request.getRequestDispatcher("/public/header.jsp").include(request, response);
response.getWriter().write("dfs<br/>");
//网脚
request.getRequestDispatcher("/public/foot.jsp").include(request, response);

posted @ 2017-03-22 19:59  贱贱的小帅哥  阅读(96)  评论(0编辑  收藏  举报