【发布时间】:2018-04-09 09:03:22
【问题描述】:
我有一个名为 index2.jsp 的 jsp 页面。此页面有 4 个选项卡,分别名为“帐户注册”、“应用程序注册”、“许可证计算器”和“报告模块”。我想将特定按钮的 response.sendRedirect 设置为“报告模块”选项卡。但是,我无法做到。我必须通过代码将其设置为 index2.jsp response.sendRedirect("index2.jsp"); .如何将其设置为“报告模块”选项卡?请帮忙。
【问题讨论】:
-
你试过
response.sendRedirect("index2.jsp?tab=report")然后用js选择这个标签吗?
标签: jsp response.redirect