JSP - Basic

Print the objectives

Take the exam   Take a beta test

This exam is based on the ability to write basic JSPs. This exam is complementary to the Servlet Basic and the Struts Basic exams. It requires much less knowledge than the SCWCD certification.



The following are not part of the basic exam (but kept for intermed & advanced exams):
  • Create custom tags
  • Old JavaBean actions (useBean, setProperty/getProperty)
  • XML JSP syntax
  Released  Beta  Frozen  

Principles  1 question

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.
14 131 72

Implicit Objects  1 question

  • request
  • response
  • out
  • page
  • pageContext
  • config
  • exception
  • session
  • application
11 102 42

Include & Forward  1 question

Know how to include another JSP. Know the difference between using the include directive and the include action.
Use the forward action.
Understand the difference between forward and redirect.
15 19 35

Directives  1 question

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.
10 94 17

Scriptlets & Expressions  3 questions

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.
14 3 91

Expression Language  2 questions

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.
17 38 64

Custom Tags  2 questions

Import a custom tag library into a page. Use an existing custom tag. Basic usage of these JSTL core tags: if, forEach, choose.
6 2 76

Comments  1 question

Understand the difference between the HTML comment and the JSP comment.
11 4 31

Exam information

  • 16 minutes
  • 12 questions (919)
  • 80% required
  • +3 √
  • - 4  points
  • 15 day delay
  • status: released