摘要:
有如下功能: 从index.jsp页面点击超链接进入TestServlet服务器,TestServlet服务器再请求转发到test.jsp。 在index.jsp里设置了request的attribute:requestKey1,在TestServlet服务器里设置了request的attribut 阅读全文
摘要:
1). 为什么要解决相对路径的问题: 在有一个 Servlet 转发页面的情况下, 会导致相对路径的混乱. 比如: -WebContent(当前WEB应用的名称) -a.jsp -test -b.jsp -c.jsp 超链接 转发 超链接 希望的是从a.jsp > HelloServlet >b.j 阅读全文