Uses of Interface
javax.servlet.ServletResponse

Packages that use ServletResponse
com.caucho.amber.filters   
com.caucho.bayeux   
com.caucho.burlap.server   
com.caucho.ejb   
com.caucho.filters   
com.caucho.hessian.server   
com.caucho.hmtp.server   
com.caucho.j2ee.deployserver   
com.caucho.jsf.context   
com.caucho.jsf.dev   
com.caucho.jsf.webapp   
com.caucho.jsmp   
com.caucho.jsp   
com.caucho.remote   
com.caucho.rewrite   
com.caucho.security.openid   
com.caucho.server.admin   
com.caucho.server.cache   
com.caucho.server.dispatch   
com.caucho.server.http   
com.caucho.server.rewrite   
com.caucho.server.security   
com.caucho.server.webapp   
com.caucho.services.server   
com.caucho.servlet   
com.caucho.servlet.comet   
com.caucho.servlets   
com.caucho.servlets.ssi   
com.caucho.servlets.webdav   
com.caucho.tools.profiler   
com.caucho.vfs.remote   
javax.servlet   
javax.servlet.http   
javax.servlet.jsp   
 

Uses of ServletResponse in com.caucho.amber.filters
 

Methods in com.caucho.amber.filters with parameters of type ServletResponse
 void AmberContextFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain next)
          Handles the filter request.
 

Uses of ServletResponse in com.caucho.bayeux
 

Methods in com.caucho.bayeux with parameters of type ServletResponse
 boolean BayeuxServlet.resume(ServletRequest request, ServletResponse response, CometController controller)
          Resumes service the initial request.
 boolean BayeuxServlet.service(ServletRequest req, ServletResponse resp, CometController controller)
          Services the initial request.
 

Uses of ServletResponse in com.caucho.burlap.server
 

Methods in com.caucho.burlap.server with parameters of type ServletResponse
 void BurlapServlet.service(ServletRequest request, ServletResponse response)
          Execute a request.
 

Uses of ServletResponse in com.caucho.ejb
 

Methods in com.caucho.ejb with parameters of type ServletResponse
 void EJBServlet.service(ServletRequest request, ServletResponse response)
          Execute a request.
 

Uses of ServletResponse in com.caucho.filters
 

Classes in com.caucho.filters that implement ServletResponse
 class CauchoResponseWrapper
          Response wrapper that can take advantage of Resin's streams.
 

Methods in com.caucho.filters that return ServletResponse
 ServletResponse CauchoResponseWrapper.getResponse()
           
 

Methods in com.caucho.filters with parameters of type ServletResponse
 void TransactionFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          Wrap the request in a transaction.
 void XsltFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          Creates a wrapper to compress the output.
 void ExpiresFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          The filter add an Expires time in the future.
 void PasswordFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain next)
           
 void MD5Filter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          Creates a wrapper to compress the output.
 void CsrfFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
           
 void GzipFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          Creates a wrapper to compress the output.
 void AnonymousExpiresFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          The filter add an Expires time in the future and adds the x-anonymous Cache-Control directive.
 void ThrottleFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
           
 void HeaderFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          Creates a wrapper to compress the output.
 

Uses of ServletResponse in com.caucho.hessian.server
 

Methods in com.caucho.hessian.server with parameters of type ServletResponse
 void HessianServlet.service(ServletRequest request, ServletResponse response)
          Execute a request.
 

Uses of ServletResponse in com.caucho.hmtp.server
 

Methods in com.caucho.hmtp.server with parameters of type ServletResponse
 void HmtpServlet.service(ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.j2ee.deployserver
 

Methods in com.caucho.j2ee.deployserver with parameters of type ServletResponse
 void DeploymentServlet.service(ServletRequest req, ServletResponse res)
          Serves the deployment.
 

Uses of ServletResponse in com.caucho.jsf.context
 

Classes in com.caucho.jsf.context that implement ServletResponse
 class JspResponseWrapper
           
 

Uses of ServletResponse in com.caucho.jsf.dev
 

Methods in com.caucho.jsf.dev with parameters of type ServletResponse
 void JsfDeveloperAidServlet.service(ServletRequest req, ServletResponse res)
           
 

Uses of ServletResponse in com.caucho.jsf.webapp
 

Methods in com.caucho.jsf.webapp with parameters of type ServletResponse
 void FacesServletImpl.service(ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.jsmp
 

Methods in com.caucho.jsmp with parameters of type ServletResponse
 void JmtpServlet.service(ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.jsp
 

Methods in com.caucho.jsp with parameters of type ServletResponse
 PageContextImpl PageManager.allocatePageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int buffer, boolean autoFlush)
           
 PageContextImpl PageManager.allocatePageContext(Servlet servlet, WebApp app, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, HttpSession session, int buffer, boolean autoFlush, boolean isPrintNullAsBlank)
          The jsp page context initialization.
 PageContext QJspFactory.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int buffer, boolean autoFlush)
           
 void PageContextImpl.initialize(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPage, boolean needsSession, int bufferSize, boolean autoFlush)
           
 void PageContextImpl.initialize(Servlet servlet, WebApp app, ServletRequest request, ServletResponse response, java.lang.String errorPage, HttpSession session, int bufferSize, boolean autoFlush, boolean isPrintNullAsBlank)
           
 void QServlet.service(ServletRequest req, ServletResponse res)
          The service method gets the JSP/XTP page and executes it.
 void StaticPage.service(ServletRequest request, ServletResponse response)
          Executes the JSP Page
 void JavaPage.service(ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.remote
 

Methods in com.caucho.remote with parameters of type ServletResponse
 void HmtpServlet.service(ServletRequest request, ServletResponse response)
          Service handling
 

Uses of ServletResponse in com.caucho.rewrite
 

Methods in com.caucho.rewrite with parameters of type ServletResponse
 void LoadBalance.LoadBalanceFilterChain.doFilter(ServletRequest req, ServletResponse res)
           
 void FastCgiProxy.ProxyFilterChain.doFilter(ServletRequest req, ServletResponse res)
           
 void HttpProxy.ProxyFilterChain.doFilter(ServletRequest req, ServletResponse res)
           
 

Uses of ServletResponse in com.caucho.security.openid
 

Methods in com.caucho.security.openid with parameters of type ServletResponse
 void YadisServlet.service(ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.server.admin
 

Methods in com.caucho.server.admin with parameters of type ServletResponse
protected  boolean ManagementService.isReadAllowed(ServletRequest request, ServletResponse response)
           
protected  boolean ManagementService.isWriteAllowed(ServletRequest request, ServletResponse response)
           
 void ManagementServlet.service(ServletRequest request, ServletResponse response)
           
abstract  void ManagementService.service(ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.server.cache
 

Classes in com.caucho.server.cache that implement ServletResponse
 class ProxyCacheResponse
           
 

Methods in com.caucho.server.cache with parameters of type ServletResponse
 void ProxyCacheFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Handles caching for the filter.
 

Uses of ServletResponse in com.caucho.server.dispatch
 

Methods in com.caucho.server.dispatch with parameters of type ServletResponse
 void WebServiceFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void RewriteDispatchFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Dispatchs to the dispatch
 void ErrorFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void ClassLoaderFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void RewriteIncludeFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Dispatchs to the dispatch
 void ServletFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void PrecompilePageFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void ExceptionFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void CometServletFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void RedirectSecureFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void RedirectFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void ForwardFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Forwards to the dispatch
 void FilterFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void SingleThreadServletFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void PageFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void ForwardAbsoluteFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Forwards to the dispatch
 void SecurityRoleMapFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void MovedFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 void ServletInvocation.service(ServletRequest request, ServletResponse response)
          Service a request.
 

Uses of ServletResponse in com.caucho.server.http
 

Subinterfaces of ServletResponse in com.caucho.server.http
 interface CauchoResponse
           
 

Classes in com.caucho.server.http that implement ServletResponse
 class AbstractCauchoResponse
           
 class HttpServletResponseImpl
          User facade for http responses.
 class ResponseAdapter
           
 class ResponseWrapper
          Wraps a servlet response in another response.
 class StubServletResponse
           
 class ToCharResponseAdapter
           
 

Methods in com.caucho.server.http that return ServletResponse
 ServletResponse ResponseWrapper.getResponse()
          Gets the wrapped response
 ServletResponse AbstractHttpResponse.getResponse()
          Returns the next response.
 ServletResponse CauchoResponseWrapper.getResponse()
           
 ServletResponse ConnectionCometController.getResponse()
           
 ServletResponse StubServletResponse.getResponse()
           
 ServletResponse AsyncContextImpl.getResponse()
          Returns the originating request for the async.
 ServletResponse CauchoResponse.getResponse()
          Return wrapped response
 ServletResponse HttpServletResponseImpl.getResponse()
           
 ServletResponse CauchoRequestWrapper.getServletResponse()
           
 ServletResponse HttpServletRequestImpl.getServletResponse()
          Returns the servlet response for the request
 ServletResponse StubServletRequest.getServletResponse()
           
 ServletResponse CauchoRequest.getServletResponse()
           
 ServletResponse RequestWrapper.getServletResponse()
          Returns the servlet response for the request
 

Methods in com.caucho.server.http with parameters of type ServletResponse
 void ConnectionCometController.addAsyncListener(AsyncListener listener, ServletRequest request, ServletResponse response)
           
 void StubServletRequest.addAsyncListener(AsyncListener listener, ServletRequest request, ServletResponse response)
           
 void RequestWrapper.addAsyncListener(AsyncListener listener, ServletRequest request, ServletResponse response)
          Adds an async listener for this request
 void ConnectionCometController.addListener(AsyncListener listener, ServletRequest request, ServletResponse response)
           
 void AsyncContextImpl.addListener(AsyncListener listener, ServletRequest request, ServletResponse response)
           
 void AsyncContextImpl.init(ServletRequest request, ServletResponse response, boolean isOriginal)
           
 void AsyncContextImpl.onStart(ServletRequest request, ServletResponse response)
          CometHandler callback when the connection starts.
 AsyncContext CauchoRequestWrapper.startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
           
 AsyncContext HttpServletRequestImpl.startAsync(ServletRequest request, ServletResponse response)
          Starts an async mode
 AsyncContext StubServletRequest.startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
           
 AsyncContext RequestWrapper.startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
          Starts an async mode
 

Constructors in com.caucho.server.http with parameters of type ServletResponse
AsyncConnectionImpl(SocketLink conn, boolean isTop, ServletRequest request, ServletResponse response)
           
AsyncListenerNode(AsyncListener listener, ServletRequest request, ServletResponse response, AsyncListenerNode next)
           
ConnectionCometController(SocketLink conn, boolean isTop, ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.server.rewrite
 

Methods in com.caucho.server.rewrite with parameters of type ServletResponse
 void SetHeaderFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void MatchFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void SetFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void AddHeaderFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void ProxyRule.ProxyFilterChain.doFilter(ServletRequest req, ServletResponse res)
           
 void SetRequestSecureFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void ContinueMapFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void RedirectQueryFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 

Uses of ServletResponse in com.caucho.server.security
 

Methods in com.caucho.server.security with parameters of type ServletResponse
 void SecurityFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void ErrorFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void FormLoginServlet.service(ServletRequest request, ServletResponse response)
           
 

Uses of ServletResponse in com.caucho.server.webapp
 

Classes in com.caucho.server.webapp that implement ServletResponse
 class DispatchResponse
           
 class IncludeResponse
          Internal response for an include() or forward()
 class JspResponse
           
 

Methods in com.caucho.server.webapp with parameters of type ServletResponse
 void RequestDispatcherImpl.dispatch(ServletRequest request, ServletResponse response)
           
 void RequestDispatcherImpl.dispatchResume(ServletRequest request, ServletResponse response)
           
 void StatisticsFilterChain.doFilter(ServletRequest request, ServletResponse response)
           
 void AccessLogFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void WebAppListenerFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void ResumeFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void WebAppFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void ContextFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void DispatchFilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void ErrorPageFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain next)
          Invokes the final servlet at the end of the chain.
 void RequestDispatcherImpl.error(ServletRequest request, ServletResponse response)
           
 void RequestDispatcherImpl.forward(ServletRequest request, ServletResponse response)
           
 void RequestDispatcherImpl.forward(ServletRequest topRequest, ServletResponse topResponse, java.lang.String method, Invocation invocation, DispatcherType type)
          Forwards the request to the servlet named by the request dispatcher.
 void RequestDispatcherImpl.include(ServletRequest request, ServletResponse response)
           
 void RequestDispatcherImpl.include(ServletRequest topRequest, ServletResponse topResponse, java.lang.String method)
          Include a request into the current page.
 void ErrorPageManager.sendServletError(java.lang.Throwable e, ServletRequest req, ServletResponse res)
          Displays a parse error.
 void ErrorPageManager.sendServletErrorImpl(java.lang.Throwable e, ServletRequest req, ServletResponse res)
           
 

Uses of ServletResponse in com.caucho.services.server
 

Methods in com.caucho.services.server that return ServletResponse
static ServletResponse ServiceContext.getContextResponse()
          Returns the service request.
 

Methods in com.caucho.services.server with parameters of type ServletResponse
static void ServiceContext.begin(ServletRequest request, ServletResponse response, java.lang.String serviceName, java.lang.String objectId)
          Sets the request object prior to calling the service's method.
 

Uses of ServletResponse in com.caucho.servlet
 

Methods in com.caucho.servlet that return ServletResponse
 ServletResponse DuplexContext.getResponse()
          Returns the original servlet response.
 

Uses of ServletResponse in com.caucho.servlet.comet
 

Methods in com.caucho.servlet.comet with parameters of type ServletResponse
 boolean CometFilterChain.doResume(ServletRequest request, ServletResponse response)
          Resumes the request.
 boolean CometFilter.doResume(ServletRequest request, ServletResponse response, CometFilterChain next)
          Resumes service the initial request.
 boolean CometServlet.resume(ServletRequest request, ServletResponse response, CometController controller)
          Resumes service the initial request.
 boolean GenericCometServlet.resume(ServletRequest request, ServletResponse response, CometController controller)
          Resumes service the initial request.
 void GenericCometServlet.service(ServletRequest request, ServletResponse response)
          Implementation of the servlet's request.
 boolean CometServlet.service(ServletRequest request, ServletResponse response, CometController controller)
          Services the initial request.
abstract  boolean GenericCometServlet.service(ServletRequest request, ServletResponse response, CometController controller)
          Services the initial request.
 

Uses of ServletResponse in com.caucho.servlets
 

Methods in com.caucho.servlets with parameters of type ServletResponse
 void HmuxLoadBalanceServlet.service(ServletRequest request, ServletResponse response)
          Handle the request.
 void ResinStatusServlet.service(ServletRequest request, ServletResponse response)
          Handle the request.
 void ErrorStatusServlet.service(ServletRequest request, ServletResponse response)
           
 void HttpProxyServlet.service(ServletRequest request, ServletResponse response)
          Handle the request.
 void FastCGIServlet.service(ServletRequest request, ServletResponse response)
          Handle the request.
 void FileServlet.service(ServletRequest request, ServletResponse response)
           
 void CGIServlet.service(ServletRequest request, ServletResponse response)
          Handle the request.
 

Uses of ServletResponse in com.caucho.servlets.ssi
 

Methods in com.caucho.servlets.ssi with parameters of type ServletResponse
 void SSIFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain nextFilter)
          Creates a wrapper to save the output.
 

Uses of ServletResponse in com.caucho.servlets.webdav
 

Methods in com.caucho.servlets.webdav with parameters of type ServletResponse
 void WebDavServlet.service(ServletRequest request, ServletResponse response)
          Service the webdav request.
 

Uses of ServletResponse in com.caucho.tools.profiler
 

Methods in com.caucho.tools.profiler with parameters of type ServletResponse
 void ProfilerFilter.doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain)
           
 

Uses of ServletResponse in com.caucho.vfs.remote
 

Methods in com.caucho.vfs.remote with parameters of type ServletResponse
 void RemoteFilesystemServlet.service(ServletRequest request, ServletResponse response)
          Handles the request.
 

Uses of ServletResponse in javax.servlet
 

Classes in javax.servlet that implement ServletResponse
 class ServletResponseWrapper
          Wraps a servlet response in another response.
 

Methods in javax.servlet that return ServletResponse
 ServletResponse ServletResponseWrapper.getResponse()
          Gets the wrapped response
 ServletResponse AsyncContext.getResponse()
           
 ServletResponse AsyncEvent.getSuppliedResponse()
           
 

Methods in javax.servlet with parameters of type ServletResponse
 void AsyncContext.addListener(AsyncListener listener, ServletRequest request, ServletResponse response)
           
 void FilterChain.doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 void Filter.doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          doFilter performs the actual work of a filter, either modifying the request or the response.
 void RequestDispatcher.forward(ServletRequest request, ServletResponse response)
          Forwards the request to another page.
 void RequestDispatcher.include(ServletRequest request, ServletResponse response)
          Includes the result of another page.
 boolean ServletResponseWrapper.isWrapperFor(ServletResponse wrapped)
           
 void Servlet.service(ServletRequest req, ServletResponse res)
          Service a request.
 void ServletResponseWrapper.setResponse(ServletResponse response)
          Sets the response to be wrapped.
 AsyncContext ServletRequestWrapper.startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
          Starts an async mode
 AsyncContext ServletRequest.startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
          Starts an async mode
 

Constructors in javax.servlet with parameters of type ServletResponse
AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response)
           
AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response, java.lang.Throwable throwable)
           
ServletResponseWrapper(ServletResponse response)
          Create a new ServletResponseWrapper, wrapping a specified response.
 

Uses of ServletResponse in javax.servlet.http
 

Subinterfaces of ServletResponse in javax.servlet.http
 interface HttpServletResponse
          HttpServletResponse extends ServletResponse allowing servlets to set the status and headers.
 

Classes in javax.servlet.http that implement ServletResponse
 class HttpServletResponseWrapper
          Wraps a servlet request in another request.
 

Methods in javax.servlet.http with parameters of type ServletResponse
 void HttpServlet.service(ServletRequest request, ServletResponse response)
          Service a request.
 void HttpServletResponseWrapper.setResponse(ServletResponse response)
          Sets a response object.
 

Uses of ServletResponse in javax.servlet.jsp
 

Methods in javax.servlet.jsp that return ServletResponse
abstract  ServletResponse PageContext.getResponse()
          Returns the ServletResponse for the page.
 

Methods in javax.servlet.jsp with parameters of type ServletResponse
abstract  PageContext JspFactory.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int buffer, boolean autoflush)
           
abstract  void PageContext.initialize(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)
          Internal routine to initialize the PageContext for a page.