如何在一个jsp页面中,使用两次response.sendRedirect("my.jsp")? 你在<head></head>標籤之間加上<%out.println("<meta http-equiv=\"refresh\" content=\"0;url=my.jsp\">");%> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 打两行,就这样:<% response.sendRedirect("my.jsp"); response.sendRedirect("my.jsp"); return;%>试试看.别忘了给分 if(true) response....;response.send........;这样吧,或者你可以用判断语句来反开 sorry,我写错了,我把的问题详细的写一下:在一个页面上我包含了一个文件<%@ include file="check.jsp"%>接着,我又使用了一个重定向<%response.sendRedirect("my.jsp");%>其中包含的文件中check.jsp中有一个<%response.sendRedirect("other.jsp");%>结果运行时出了问题,如果屏蔽掉包含文件中的response.sendRedirect("my.jsp");运行正常,请高手赐教 程序里要加上判断if(){response.sendRedirect} JSP空指针 jdbcTemplate参数问题,请教 java事务控制 关于tomcat5.0虚拟目录的问题,请高手指点 卖jsp编程技巧的那个垃圾的所有实例的答案全部已收集,现将他人收集的实例答案公布出来,大家鉴赏! 急!安装tomcat5.5.17的问题! 一个有关SOCKET的故障 又是servelt问题,头痛!! createstatement(int resultSetType, int resultSetConcurrency) 请问如何显示附件的内容? 怎么也向不明白,各位一定要帮忙 Jsp中如何对Crystal Report来调用?
<%
response.sendRedirect("my.jsp");
response.sendRedirect("my.jsp");
return;
%>
试试看.别忘了给分
response.send........;这样吧,或者你可以用判断语句来反开
在一个页面上我包含了一个文件
<%@ include file="check.jsp"%>
接着,我又使用了一个重定向
<%
response.sendRedirect("my.jsp");
%>
其中包含的文件中check.jsp中有一个
<%
response.sendRedirect("other.jsp");
%>
结果运行时出了问题,如果屏蔽掉包含文件中的
response.sendRedirect("my.jsp");
运行正常,
请高手赐教
if()
{
response.sendRedirect
}