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

Using implicit objects of expression language

From the course: Java EE: Servlets and JavaServer Pages (JSP)

Start my 1-month free trial

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…

Contents