jsp中的pageContext 隐式对象的源代码在哪里可以找到 也就是.java文件
4 回答
萧十郎
TA贡献1815条经验 获得超13个赞
public abstract class PageContext extends JspContext { /** * Sole constructor. (For invocation by subclass constructors, * typically implicit.) */ public PageContext() { // NOOP by default } /** * Page scope: (this is the default) the named reference remains available * in this PageContext until the return from the current Servlet.service() * invocation. */ public static final int PAGE_SCOPE = 1; /** * Request scope: the named reference remains available from the * ServletRequest associated with the Servlet until the current request * is completed. */ public static final int REQUEST_SCOPE = 2; /** * Session scope (only valid if this page participates in a session): * the named reference remains available from the HttpSession (if any) * associated with the Servlet until the HttpSession is invalidated. */ public static final int SESSION_SCOPE = 3; /** * Application scope: named reference remains available in the * ServletContext until it is reclaimed. */ public static final int APPLICATION_SCOPE = 4; /** * Name used to store the Servlet in this PageContext's nametables. */ public static final String PAGE = "javax.servlet.jsp.jspPage"; /** * Name used to store this PageContext in it's own name table. */
添加回答
举报
0/150
提交
取消