JSP expression are converted to String and evaluated at runtime. JSP expressions can access the variables declared before the usage of expression.

Java Code:
<%= request.getRemoteHost() %>
Assuming a is declared and has some value in it.
Java Code:
<%= a %>