wanghongjie
  <!-- 使用超链接请求到新页面-->
<!--超链接到page2,弹出新窗口--> <a href="page2.jsp" target="_blant">链接到page2</a></br> <!--相对路径超链接到page2--> <a href="./page2.jsp"> 链接到page2</a></br> <a href="../demo1/page2.jsp"> 链接到page2</a></br> <!--绝对路径连接到page2 request.getContextPath() 请求域名--> <a href="http://localhost:8080/web2/demo1/page2.jsp"> 链接到page2</a></br> <a href="<%=request.getContextPath() %>/demo1/page2.jsp"> 链接到page2</a></br>
<!--连接到Page2并传参uid需要在page2中接受-->
<a href="page2.jsp?uid=admin"> 链接到page2</a></br>

 2使用超链接

分类:

技术点:

相关文章:

  • 2022-02-26
  • 2022-12-23
  • 2021-08-23
  • 2021-06-14
  • 2021-12-01
  • 2022-02-15
  • 2021-09-16
猜你喜欢
  • 2021-04-07
  • 2021-09-19
  • 2021-08-05
  • 2021-08-16
  • 2021-08-29
  • 2021-11-17
  • 2021-09-11
相关资源
相似解决方案