pagecontext.java
来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 60 行
JAVA
60 行
/* PageContext.java{{IS_NOTE Purpose: Description: History: Sat Oct 27 09:53:05 2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.web.servlet.xel;import javax.servlet.ServletConfig;import javax.servlet.ServletContext;import javax.servlet.ServletRequest;import javax.servlet.ServletResponse;import javax.servlet.http.HttpSession;import org.zkoss.xel.VariableResolver;/** * Represents a page context. * The pageContext variable in EL expressions references to an instance * of this interface. * * <p>It is a replacement of javax.servlet.jsp.PageContext, since * ZK doesn't depend on JSP. * * @author tomyeh * @since 3.0.0 */public interface PageContext { /** The current request. */ public ServletRequest getRequest(); /** The current response. */ public ServletResponse getResponse(); /** The Servlet configuration. */ public ServletConfig getServletConfig(); /** The Servlet context. */ public ServletContext getServletContext(); /** The current session. */ public HttpSession getSession(); /** The current variable resolver. */ public VariableResolver getVariableResolver();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?