没有合适的资源?快使用搜索试试~ 我知道了~
servlet2_2-spec 英文版
需积分: 0 0 下载量 11 浏览量
2009-02-25
10:58:45
上传
评论
收藏 375KB PDF 举报
温馨提示
试读
79页
servlet2_2-spec 英文版 非牛人勿下
资源详情
资源评论
资源推荐
Java™ Servlet Specification, v2.2
Final Release
December 17th, 1999
James Duncan Davidson
Danny Coward
Please send all comments to
servletapi-feedback@eng.sun.com
.
Java™Servlet Specification ("Specification")
Version: 2.2
Status: Final Release
Release: 12/17/99
Copyright 1999 Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, CA 94303, U.S.A.
All rights reserved.
NOTICE.
This Specification is protected by copyright and the information described herein may be protected by one or more U.S. patents,
foreign patents, or pending applications. Except as provided under the following license, no part of this Specification may be
reproduced in any form by any means without the prior written authorization of Sun Microsystems, Inc. (“Sun”) and its licensors, if any.
Any use of this Specification and the information described herein will be governed by these terms and conditions and the Export
Control and General Terms as set forth in Sun's website Legal Terms. By viewing, downloading or otherwise copying this
Specification, you agree that you have read, understood, and will comply with all the terms and conditions set forth herein.
Sun hereby grants you a fully-paid, non-exclusive, non-transferable, worldwide, limited license (without the right to sublicense), under
Sun's intellectual property rights that are essential to practice this Specification, to internally practice this Specification solely for the
purpose of creating a clean room implementation of this Specification that: (i) includes a complete implementation of the current
version of this Specification, without subsetting or supersetting; (ii) implements all of the interfaces and functionality of this
Specification, as defined by Sun, without subsetting or supersetting; (iii) includes a complete implementation of any optional
components (as defined by Sun in this Specification) which you choose to implement, without subsetting or supersetting; (iv)
implements all of the interfaces and functionality of such optional components, without subsetting or supersetting; (v) does not add
any additional packages, classes or interfaces to the "java.*" or "javax.*" packages or subpackages (or other packages defined by
Sun); (vi) satisfies all testing requirements available from Sun relating to the most recently published version of this Specification six
(6) months prior to any release of the clean room implementation or upgrade thereto; (vii) does not derive from any Sun source code
or binary code materials; and (viii) does not include any Sun source code or binary code materials without an appropriate and
separate license from Sun. This Specification contains the proprietary information of Sun and may only be used in accordance with
the license terms set forth herein. This license will terminate immediately without notice from Sun if you fail to comply with any
provision of this license. Sun may, at its sole option, terminate this license without cause upon ten (10) days notice to you. Upon
termination of this license, you must cease use of or destroy this Specification.
TRADEMARKS.
No right, title, or interest in or to any trademarks, service marks, or trade names of Sun or Sun's licensors is granted hereunder. Sun,
Sun Microsystems, the Sun logo, Java, Jini, JavaServer Pages, Enterprise JavaBeans, Java Compatible, JDK, JDBC, JavaBeans,
JavaMail, Write Once, Run Anywhere, and Java Naming and Directory Interface are trademarks or registered trademarks of Sun
Microsystems, Inc. in the U.S. and other countries.
DISCLAIMER OF WARRANTIES.
THIS SPECIFICATION IS PROVIDED "AS IS". SUN MAKES NO REPRESENTATIONS OR WARRANTIES, EITHER EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
OR NON-INFRINGEMENT THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE OR THAT ANY
PRACTICE OR IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
TRADE SECRETS OR OTHER RIGHTS. This document does not represent any commitment to release or implement any portion of
this Specification in any product.
THIS SPECIFICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE
PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED INTO NEW VERSIONS
OF THE SPECIFICATION, IF ANY. SUN MAY MAKE IMPROVEMENTS AND/OR CHANGES TO THE PRODUCT(S) AND/OR THE
PROGRAM(S) DESCRIBED IN THIS SPECIFICATION AT ANY TIME. Any use of such changes in the Specification will be governed
by the then-current license for the applicable version of the Specification.
LIMITATION OF LIABILITY.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY DAMAGES,
INCLUDING WITHOUT LIMITATION, LOST REVENUE, PROFITS OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL,
INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING
OUT OF OR RELATED TO ANY FURNISHING, PRACTICING, MODIFYING OR ANY USE OF THE SPECIFICATION, EVEN IF SUN
AND/OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
You will indemnify, hold harmless, and defend Sun and its licensors from any claims arising or resulting from: (i) your use of the
Specification; (ii) the use or distribution of your Java application, applet and/or clean room implementation; and/or (iii) any claims that
later versions or releases of any Specification furnished to you are incompatible with the Specification provided to you under this
license.RESTRICTED RIGHTS LEGEND.
Use, duplication, or disclosure by the U.S. Government is subject to the restrictions set forth in this license and as provided in DFARS
227.7202-1(a) and 227.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii)(Oct 1988), FAR 12.212(a) (1995), FAR 52.227-19 (June
1987), or FAR 52.227-14(ALT III) (June 1987), as applicable.
REPORT.
You may wish to report any ambiguities, inconsistencies, or inaccuracies you may find in connection with your use of the Specification
("Feedback"). To the extent that you provide Sun with any Feedback, you hereby: (i) agree that such Feedback is provided on a non-
proprietary and non-confidential basis and (ii) grant Sun a perpetual, non-exclusive, worldwide, fully paid-up, irrevocable license, with
the right to sublicense through multiple levels of sublicensees, to incorporate, disclose, and use without limitation the Feedback for
any purpose related to the Specification and future versions, implementations, and test suites thereof.
Table Of Contents
Who Should Read This Specification 8
API Reference 8
Other Java™ Platform Specifications 8
Other Important References 8
Providing Feedback 9
Acknowledgements 9
Overview 11
What is a Servlet? 11
What is a Servlet Container? 11
An Example 11
Comparing Servlets with Other Technologies 12
Relationship to Java 2 Platform Enterprise Edition 12
Distributable Servlet Containers 12
Changes Since Version 2.1 12
Terms Used 15
Basic Terms 15
Roles 16
Security Terms 17
The Servlet Interface 19
Request Handling Methods 19
Number of Instances 20
Servlet Life Cycle 20
Servlet Context 23
Scope of a ServletContext 23
Initialization Parameters 23
Context Attributes 23
Resources 24
Multiple Hosts and Servlet Contexts 24
Reloading Considerations 24
Temporary Working Directories 25
The Request 27
Parameters 27
Attributes 27
Headers 28
Request Path Elements 28
Path Translation Methods 29
Cookies 29
SSL Attributes 30
Internationalization 30
The Response 31
Buffering 31
Headers 31
Convenience Methods 32
Internationalization 32
Closure of Response Object 33
Sessions 35
Session Tracking Mechanisms 35
Creating a Session 35
Session Scope 36
Binding Attributes into a Session 36
Session Timeouts 36
Last Accessed Times 36
Important Session Semantics 37
Dispatching Requests 39
Obtaining a RequestDispatcher 39
Using a Request Dispatcher 40
Include 40
Forward 40
Error Handling 41
剩余78页未读,继续阅读
super712
- 粉丝: 13
- 资源: 34
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MEM2307-VB一款SOT23封装P-Channel场效应MOS管
- 逐次分半积分实验.wps
- MEM2303XG-VB一款P-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- MEM2303-VB一款P-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- 1_base.apk.1
- 基于FPGA深度学习的9I2C 读写 RTC 时钟实验,适合FPGA初学者
- MEM2303M3G-VB一款P-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- MEM2302XG-VB一款N-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- manage.py 相对路径
- 数据库设计课程设计-高校选课管理系统免费提供
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0