Atitit. Servlet2.5 New Features of Servlet 3.0 jsp2.0 jsp2.1 New Features of jsp2.2 and new features of servlet3.0
Atitit. Servlet2.5New Features of Servlet 3.0 jsp2.0 jsp2.1 jsp2.2 New Features
1.1. Relationship between Servlet and JSP standard versions: 1
1.2. Introduction to some changes in Servlet2.5: 1
1.3. Jsp2.02
1.4. Jsp2.12
1.5. Jsp2.2 (sinbsheo3
Servlet/JSP specifications and JDK version:
1.1.
Relationship between Servlet and JSP standard versions:
|
Servlet standard version |
JSP version |
JSF version |
Java ee version |
|
Servlet2.3 |
JSP1.2 and JSP1.1 |
|
J2EE1.3 |
|
Servlet2.4 |
JSP2.0 |
JSF1.1 |
J2EE1.4 |
|
Servlet2.5 |
JSP2.1 |
JSF1.2 and JSF2.0 |
Java EE5 |
|
Servlet3.0 |
JSP2.2 |
|
Java EE6 |
Relationship between Servlet and JSP specifications and versions-knowledge accumulation-blog channel-CSDN.NET.html
1.2. Introduction to some changes in Servlet2.5:
1) developed based on the latest J2SE 5.0.
2) annotations are supported.
3) The configuration in web. xml is more convenient.
4) Remove a few restrictions.
5) optimized some instances
1.3.
Jsp2.0
JSP 1.x allows Web developers to create Java components (called Tag handlers) that are called from JSP pages through custom tags. The markup handler is similar to the previous Java Servlet, because you use many println () calls to generate HTML content, and then you must compile your Java code. The tag file of JSP 2.0 is similar to the JSP page, because you use JSP syntax, then the JSP Container obtains your JSP Tag file, analyzes these tag files, and generates a Java tag handler, and automatically compile them. The tag file is called from the JSP page. The JSP page uses a custom tag that matches the <prefix: tagFileName> mode.
To enable the Tag file to be recognized by the JSP Container, the Tag file must be used. the tag file extension is named and must be placed in the/WEB-INF/tags directory of your Web application or a subdirectory of/WEB-INF/tags. If you use this deployment method, you do not need to create any tag library Descriptor (TLD) because the JSP library is implemented using Java tag handler.
One of the main functions of JSP2.0 is JSP fragment. Its basic feature is that it can delay the JSP tag attribute Evaluation for JSP containers. We know that JSP first evaluates the attributes of JSP tags and then uses these attributes when processing JSP tags. JSP fragment provides dynamic attributes. That is to say, these attributes can be changed when JSP processes the TAG body. JSP needs to define this property
(3) SimpleTag (4) use JSP fragment
1.4.
Jsp2.1
JSPs 2.1
We are very happy to announce to you that the development of Faces under the cyclerver Pages and JSR-245. extends erver Pages (JSP) 2.1 and the Early Draft Review release of the new version specification of JavaServer Faces (Faces) 1.2 developed under the JSR-252.
JSP 2.1 outputs Expression Language (EL) to its own separate documents. Technically, these documents are sub-documents of JSP specifications. These unified EL specifications define a higher-level java package, javax. el. This package is completely independent from the technology that uses it and allows it to insert itself into the EL processing process. The modified JSP specification complies with the standardized EL specification.
For the JSR-252 mentioned above, this specification has no new features. Faces 1.2 supports the new standard EL and also contains some bug fixes.
The association between Faces and JSP under JSRs has brought about some new features and laid a solid foundation for future development. For example, in a web application that uses both Faces and JSP, it is possible that a webpage only uses JSP (without any faces content) to access Managed Beans. You can see the details of the changes in appendix E of the JSP specification and in the preface to the Faces specification.
1.5.
Jsp2.2 (sinbsheo
Differences between atitit. j2ee 1.5 1.6 and the new features of Servlet community 3.0
New Features of servlet2.5_jsp2.1( )it_ it _xisai .html
Five new features of JSP2.0-51CTO.COM.html
Author: nickname: old wow's paw (full name: Attilax Akbar Al Rapanui Attila Akba Arla Panui)
Chinese name: atira (iron), EMAIL: 1466519819@qq.com
Reprinted please indicate Source: http://www.cnblogs.com/attilax/
Atiend