- 22
- 0
- 约4.55万字
- 约 34页
- 2016-11-23 发布于广东
- 举报
外文原文
JSP.12Core API
This chapter describes the javax.servlet.jsp package. The chapter includes content that is generated automatically from Javadoc embedded into the actual Java classes and interfaces. This allows the creation of a single, authoritative, specifica-tion document.
The javax.servlet.jsp package contains a number of classes and interfaces that describe and define the contracts between a JSP page implementation class and the runtime environment provided for an instance of such a class by a conforming JSP container.
JSP.12.1 JSP Page Implementation Object Contract
This section describes the basic contract between a JSP Page implementation object and its container. The main contract is defined by the classes JspPage and HttpJspPage. The JspFactory class describes the mechanism to portably instantiate all needed runtime objects, and JspEngineInfo provides basic information on the cur-rent JSP container.
None of the classes described here are intended to be used by JSP page authors; example of how these classes may be used is included elsewhere in this chapter.
JSP.12.1.1 JspPage
Syntax
public interface JspPage extends javax.servlet.Servlet
All Known Subinterfaces: HttpJspPage
All Superinterfaces: javax.servlet.Servlet
Description
The JspPage interface describes the generic interaction that a JSP Page Implementation
class must satisfy; pages that use the HTTP protocol are described by
the HttpJspPage interface.
Two plus One Methods
The interface defines a protocol with 3 methods; only two of them: jspInit() and
jspDestroy() are part of this interface as the signature of the third method: _jsp-
Service() depends on the specific protocol used and cannot be expressed in a
generic way in Java.
A class implementing this interface is responsible for invoking the above methods
at the appropriate time based on the corresponding Servlet-based method invocations.
The jspInit() and jspDestroy() methods can be defined by a JSP author, but
您可能关注的文档
- HTTP 和 SERVLET 基础知识外文文献翻译.doc
- J2EE架构外文文献翻译.doc
- Java 的WAT 外文文献翻译.doc
- Java编程语言的介绍外文文献翻译.doc
- Java抽象窗口工具包外文文献翻译.doc
- JSP.A包装JSP Pages外文文献翻译.doc
- Parsing XML外文文献翻译.doc
- 操作系统概述外文文献翻译.doc
- 创建XML外文文献翻译.doc
- 服务器控件工具箱外文文献翻译.doc
- 25-26学年政治(部编版)选择性必修第二册课件:第1单元 周清1 民法中的人身权及财产权.pptx
- 25-26学年政治(部编版)选择性必修第二册课件:1.4.1 权利保障 于法有据.pptx
- 2025北京丰台区高二(上)期中地理(A卷)含答案.docx
- 2025北京三帆中学初三(上)开学考英语试题含答案.docx
- 2025北京一零一中初三9月月考语文试题含答案.docx
- 2025北京海淀区初三(上)期中道法试题含答案.docx
- 2025北京丰台区高一(上)期中政治(A卷)含答案.docx
- 25-26学年政治统编版必修4课件:3.3 唯物辩证法的实质与核心.pptx
- 25-26学年政治统编版必修4课件:7.2 正确认识中华传统文化.pptx
- 湖北省部分高中2026届高三上学期二模联考 历史试卷.docx
最近下载
- 06 排进水问题—小升初奥数思维之典型应用题精讲精练讲义(通用版).pdf VIP
- (精选模板)三维效果图制作合同.doc VIP
- 20G908-1:建筑工程施工质量常见问题预防措施(混凝土结构工程) .docx VIP
- 2025年碳普惠碳普惠市场案例与潜力研究.docx
- 山西省运城市2024-2025学年七年级上学期期末生物学试题(含答案).pdf VIP
- 学堂在线 雨课堂 学堂云 临床中成药应用 综合考试答案.docx VIP
- 爱婴医院2026年工作计划范文.docx VIP
- 慢阻肺.ppt VIP
- 2024新版APQP产品质量先期策划第三版培训课件.pptx VIP
- 学堂在线 雨课堂 学堂云 日语与日本文化 期末考试答案.docx VIP
原创力文档

文档评论(0)