getRequestDispatcher
来源:互联网 发布:mac怎么玩美服lol 编辑:程序博客网 时间:2024/06/11 03:50
getRequestDispatcher
public RequestDispatcher getRequestDispatcher(String path)
- Returns a
RequestDispatcher
object that acts as a wrapper for the resource located at the given path. ARequestDispatcher
object can be used to forward a request to the resource or to include the resource in a response. The resource can be dynamic or static.The pathname specified may be relative, although it cannot extend outside the current servlet context. If the path begins with a "/" it is interpreted as relative to the current context root. This method returns
null
if the servlet container cannot return aRequestDispatcher
.The difference between this method and
ServletContext.getRequestDispatcher(java.lang.String)
is that this method can take a relative path. - Parameters:
path
- aString
specifying the pathname to the resource. If it is relative, it must be relative against the current servlet.- Returns:
- a
RequestDispatcher
object that acts as a wrapper for the resource at the specified path, ornull
if the servlet container cannot return aRequestDispatcher
0 0
- getRequestDispatcher
- getRequestDispatcher(String)
- request.getRequestDispatcher
- getRequestDispatcher ,sendRedirect
- request.getRequestDispatcher()
- ServerContext.getRequestDispatcher()与HttpRequest.getRequestDispatcher()的区别
- getRequestDispatcher() vs sendRedirect()
- getRequestDispatcher()与sendRedirect()区别
- getRequestDispatcher()与sendRedirect()区别
- response.sendRedirect VS getRequestDispatcher
- getRequestDispatcher() vs sendRedirect()
- getRequestDispatcher 和sendRedirect区别
- getRequestDispatcher()与sendRedirect()区别
- getRequestDispatcher 和sendRedirect区别
- getRequestDispatcher()与sendRedirect()区别
- getRequestDispatcher()与sendRedirect()区别
- getRequestDispatcher简单介绍
- request.getrequestdispatcher() sendRedirect()
- 那么其实就是一种倒退
- 那一定是事半功倍的
- 一点站长论坛发外链
- Qgis开发11-地理实体抽象
- 地址的一些思考
- getRequestDispatcher
- 让你的资源成为你的资本
- 我们做SEO的就是要讲究原则
- 02 Android基础理论
- 出奇是与你博客正题相关的
- stackoverflow:Why are structures typedef'ed to their own names? [duplicate]
- const char*, char const*, char*const的区别
- 百度2015校园招聘前端笔试题(西安站)
- 再粘贴給自己的网站