Interface javax.servlet.http.HttpServletResponse sendRedirect
public abstract void sendRedirect(String location) throws IOExceptionSends a temporary redirect response to the client using the specified redirect location URL. The URL must be absolute (for example, https://hostname/path/file.html). Relative URLs are not permitted here. Parameters:
location - the redirect location URL
Throws: IOException
If an I/O error has occurred. 不知道是不是你想要的
public abstract void sendRedirect(String location) throws IOExceptionSends a temporary redirect response to the client using the specified redirect location URL. The URL must be absolute (for example, https://hostname/path/file.html). Relative URLs are not permitted here. Parameters:
location - the redirect location URL
Throws: IOException
If an I/O error has occurred. 不知道是不是你想要的
解决方案 »
- 请帮我解密这份jscript.encode代码,感激涕零。。。
- image 和 graphics的区别!
- 请问struts2如何实现存在数据库的文件下载
- 谁知道哪有jexcelapi下载?
- Hibernate级联问题
- 用java读中文linux中的文件是正确的,用java读英文linux版本中的文件是乱码,如何使英文linux读出的文件数据也是中文的?
- 求助myeclipse6.5 + tomcat
- 对这段代码什么看法?
- 数组的传递问题
- 求助——错误:org.hibernate.exception.SQLGrammarException
- JDBC的问题,高分求解!
- jsp中对文件操作,怎样判断是否已到文件尾?
dis.forward(req, res);I think it will help for you.
{
.... res.sendRedirect("/myHtml/jsp/Approve.jsp");
}
maybe it works!