现在的位置: 首页 > 综合 > 正文

javax.servlet.include

2013年03月05日 ⁄ 综合 ⁄ 共 418字 ⁄ 字号 评论关闭
当一个页面是以RequestDispatcher.include方式显示的话,这个属性值才存在。

相关的还有:
getRequestURI   javax.servlet.include.request_uri
getContextPath   javax.servlet.include.context_path
getServletPath   javax.servlet.include.servlet_path
getPathInfo   javax.servlet.include.path_info
getQueryString   javax.servlet.include.query_string

RequestDispatcher支持servlet的Server   Side   Include功能。

RequestDispatcher.include   -   向现有输出包含一个页面
RequestDispatcher.forward   -   用新页面代替现有输出。

抱歉!评论已关闭.