From the course: Java EE: Servlets and JavaServer Pages (JSP)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using implicit objects of expression language
From the course: Java EE: Servlets and JavaServer Pages (JSP)
Using implicit objects of expression language
- [Instructor] Now let us talk in brief about expression languages implicit objects. In the previous demo, we accessed the map of weight summary from the request scope name. Right. Where did that come from? So that's basically what we're going to talk about now. We know that in an expression language the expression could be written as dollar and the curly pair of braces and then the name of the property. Or you can alternately write it as dollar and then request scope dot number of items. So basically what each of these expressions is doing is mostly the same thing. Let's understand that. When you talk about EL's implicit objects, please understand that they are not the same as our jsp implicit objects. If you recall from a previous videos, there were nine implicit objects in jsp that we had talked about, and those are the ones that are of specific type. HTTP servlet request, HTTP servlet response, then you had servlet context, servlet config, then you had HTTP session etc, right? But…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understanding the advent of standard actions6m 16s
-
(Locked)
JSP standard actions: Querying database6m 23s
-
(Locked)
JSP standard actions: Displaying data7m 2s
-
(Locked)
Expression language7m 20s
-
(Locked)
Using expression language in JSP9m 52s
-
(Locked)
Using implicit objects of expression language7m 53s
-
(Locked)
-
-