jsp中怎样跳转页面

yuanfy 2002-03-20 04:51:44
请问在jsp中怎样实现跳转到另一页面?
...全文
117 10 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuanfy 2002-03-21
  • 打赏
  • 举报
回复
谢谢
deeprising 2002-03-21
  • 打赏
  • 举报
回复
<jsp:forward page="index.jsp">
<jsp:param name="aaa" value="aaaa"/>
<jsp:param name="bbb" value="bbbb"/>
</jsp:forward>
?
jacob1 2002-03-21
  • 打赏
  • 举报
回复
对啊,最直接的就如楼上说的用html的refresh咯
epowerlab 2002-03-20
  • 打赏
  • 举报
回复
out.println("<meta http-equiv='refresh' content='3;URL=index.jsp'>");
apboy 2002-03-20
  • 打赏
  • 举报
回复
重定向:<%response.sendRedirect("index.jsptitle="+key+"&exactly=2&ntype=0&ndate=0"");%>


apboy 2002-03-20
  • 打赏
  • 举报
回复
重定向:<%response.sendRedirect("index.jsp?search.jsp?title="+key+"&exactly=2&ntype=0&ndate=0"");%>
Jarky 2002-03-20
  • 打赏
  • 举报
回复
直接用连接就是了!
scarab 2002-03-20
  • 打赏
  • 举报
回复
<jsp:forward>
是吗?
zxp_net 2002-03-20
  • 打赏
  • 举报
回复
<%response.sendRedirect("index.jsp");%>
zxp_net 2002-03-20
  • 打赏
  • 举报
回复
response.sendRedirect()

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧