跳转到jsp(不要在后面带参数,传递无效)

<input type="button" onclick="window.location.href='product_add.jsp?type=<%=type %>>'" value="添加">

跳转到servlet

 <input type="button" onclick="window.location.href='<%=path%>/servlet/ProductAdd?type=<%=type %>>'" value="添加">

相关文章:

  • 2021-12-08
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2022-01-20
  • 2021-11-28
  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2021-08-11
  • 2021-12-11
相关资源
相似解决方案