Start review is 080.
I saw a few seniors' posts, I know that 081 and 080 have a big difference.
The following is an increased two parts, for EL and JSTL.
Chapter 7. Building JSP Pages Using The Expression Language (EL)
Given a scenario (scheme; case; summary), write EL code that accesses the following implicit variables including: pageScope, requestScope, sessionScope, and applicationScope, param and paramValues, header and headerValues, cookie, initParam and pageContext.
TheRe SEVERAL IMPLCIT Objects That Are Available To el Expressions Used in JSP Pages. These Objects Are Are Always Available Under these names (Telling EL's implied objects and simple descriptions)
Then, several examples were raised, and there were EL. operations and [] operations.
Chapter 9. Building JSP Pages Using Tag Libraries
For a Custom Tag Library OR a Library of Tag Files, Create The 'Taglib' Directive for a JSP Page.
The Set of Significant (meaningful, significant, important) Tags a JSP Container Interprets (Explanation, Description) Can Be Extended THROUGH A TAG LIBRARY.
The taglib directive in a JSP page declares that the page uses a tag library, uniquely (uniquely, uniquely, rare earth) identifies the tag library using a URI and associates (the occurrence of contact, make joint) a tag prefix that will distinguish USAGE OF THE ACTIONS IN The Library.
IF a JSP Container Implementation Cannot Locate A Tag Library Description, A Fatal Translation Error Shall Result.
IT IS A Fatal Translation Error for the Taglib Directive to Appear AFTER ACTIONS OR FUNCTIONS Using The Prefix.
In the following example, a tag library is introduced and made available to this page using the super prefix; no other tag libraries should be introduced in this page using this prefix In this particular case, we assume the tag library includes a doMagic element type. , Which is buy within the page.
JSTL added part:
Given a Design Goal, Use An Appropriate (appropriate) JSP Standard Tag Library (JSTL V1.1) Tag from the "Core" Tag Library.The Center of Jstl Is The Core Taglib. This Can Be Split Into Five Areas:
General Purpose Variables Support Conditional Iterator URL Related
To Use the core library: USE The FOLLOWING DIRECTIVE:
<% @ taglib prefix = "c" URI = "http://java.sun.com/jstl/core"%> The prefix attribute specifies "The prefix sale in the tag name for a particular library . for example, the core library includes a tag named out When combined with a prefix of c, the full tag would be..
You Must Also Put The Corresponding (Classified) .tld File for Each Tag Library IN Your / Web-Inf Directory and Use Taglib Element in Your Web.xml File To include The Tag Library:
General purpose tags.
The General-Purpose Tags Let You Display Variable Values, And Enclose (Closed, Sealed; Packaging, Envelope) a Group of Tags Withnin A Try-Catch Block.
SIMILAR TO JSP Expressions SIMILAR TO JSP Expressions Such AS <% = scripting-language-expression}. For Example:
You Have
The
Including
Also
See http://java.boot.by/wcd-guide/ch09s03.html