Principles Understand how a JSP is translated into an equivalent servlet at run-time, and the influence of the jsp tags (mentioned in these objectives) on the produced servlet. Know the distinct syntax for the different JSP tag types: directive, declaration, action, scriptlet, expression, comment. Implicit Objects
Use the forward action.
Understand the difference between forward and redirect. Directives Import a Java class into a JSP page.
Know basic things about page directives and what they do.
Know the difference among page, include and taglib directives.
Know the valid values for each directive tags.
Scriptlets & Expressions Write scriptlets for displaying part of the JSP file in a conditional statement and in a loop. Distinguish a scriptlet from an expression, know what Java code you might (not) put in each. Use an expression inside a JSP action attribute. Expression Language Use the expression language to access a request, session or application parameter/attribute. Basic usage of the arithmetic, relational operators, and the . operator. Not included: EL functions, collection access. Custom Tags Import a custom tag library into a page. Use an existing custom tag. Basic usage of these JSTL core tags: if, forEach, choose. Comments Understand the difference between the HTML comment and the JSP comment.
- request
- response
- out
- page
- pageContext
- config
- exception
- session
- application
Use the forward action.
Understand the difference between forward and redirect. Directives Import a Java class into a JSP page.
Know basic things about page directives and what they do.
Know the difference among page, include and taglib directives.
Know the valid values for each directive tags.
Scriptlets & Expressions Write scriptlets for displaying part of the JSP file in a conditional statement and in a loop. Distinguish a scriptlet from an expression, know what Java code you might (not) put in each. Use an expression inside a JSP action attribute. Expression Language Use the expression language to access a request, session or application parameter/attribute. Basic usage of the arithmetic, relational operators, and the . operator. Not included: EL functions, collection access. Custom Tags Import a custom tag library into a page. Use an existing custom tag. Basic usage of these JSTL core tags: if, forEach, choose. Comments Understand the difference between the HTML comment and the JSP comment.