Short answer: expression language (EL). You can read about it in the
Java EE Tutorial. There's a page of examples
here. The example for getting a value from the session scope is ${sessionScope.cart.numberOfItems}, where ${sessionScope.} is built-in syntax, and cart.numberOfItems is specific to the example application.