1. 服务器中:/ 代表web应用
浏览器中:/ 代表url地址
eg.web应用app中有个test.jsp文件
request.getRequestDispatcher("/test.jsp") -------web应用中(context.getRealPath(); context.getResourceAsStream(); web.xml中配置映射路径)
response.sendRedirect("/app/test.jsp")------浏览器中(<a href="">;<form action="">)