EL Quiz 5S2C Home « EL Quiz 5

The questions in this quiz on Expression Language are on the topics covered in the fifth lesson of the EL section of the site. The table below lists the lesson used for each quiz, a description of the lesson content and the quiz number and questions associated with that lesson.

Click on a lesson in the table to go to that lesson for a refresher on the topics for that quiz.

Click on a quiz in the table to go straight to the quiz for a particular lesson.

EL Lessons Description Question Range
Lesson 1 - Introduction to ELIn our first lesson on the Expression Language we introduce EL and write our first JSP using EL.Quiz1
5 questions
Lesson 2 - EL OperatorsThis lesson is about the symbols used in EL for mathematical and logical manipulation which are known as EL operators.Quiz2
6 questions
Lesson 3 - EL Property AccessIn this lesson we learn how to use EL to access object properties and attribute values from any scope.Quiz3
5 questions
Lesson 4 - EL Implicit ObjectsIn this lesson we learn about EL implicit objects and their usage.Quiz4
5 questions
Lesson 5 - Configuring ELIn this lesson we finish our study of the Expression Language by looking at how we can configure our pages for script-free EL or non-EL use.This quiz.
5 questions

Expression Language Quiz

The quiz below tests your knowledge of the material learnt in the Configuring EL lesson of the EL section of the site.

Question 1 : Which DD element is used to define global configuration information in a web application for JSP files?
- The <code>jsp-config</code> DD element is used to define global configuration information in a web application for JSP files.
Question 2 : You can invalidate scripting or ignore EL within a JSP page, but not both?
- You can invalidate scripting and ignore EL within a JSP page if you want to configure the JSP page that way.
Question 3 : What happens when we try to run a JSP page that has scripting and the scripting-invalid sub-level element of the jsp-property-group DD element has been set to true?
- When we try to run a JSP page that has scripting and the <code>scripting-invalid</code> sub-level element of the <code>jsp-property-group</code> has been set to <code>true</code> an exception occurs.
Question 4 : What is the only mandatory sub-level element of the jsp-property-group element?
- The <code>url-pattern</code> sub-level element is the only mandatory element within the <code>jsp-property-group</code> element.
Question 5 : What happens when we try to run a JSP page that has El elements and the el-ignored sub-level element of jsp-property-group DD element has been set to true?
- When we try to run a JSP page that has El elements and the <code>el-ignored</code> sub-level element of the <code>jsp-property-group</code> has been set to <code>true</code> any EL elements are output as string literals.
Quiz Progress Bar Please select an answer

What's Next?

That's it for the EL quizzes! The next quizzes are on the Java Standard Tag Libraries.