Top "El" questions

EL (Expression Language) enables the dynamic resolution of Java objects and methods in JSP and Facelets pages.

Ternary operator in JSTL/EL

The following tag of JSTL can be used to set a value to a variable in a request scope. <…

jsp jstl el ternary-operator conditional-operator
Check if parameter exists in Expression Language

<c:if test="${param.username}" > </c:if> How do I check if param.username exists??

jsp parameters jstl el
How to show JSF components if list is not null and has size() > 0

How do I show JSF components if a list is not null and it has a size() > 0?

jsf if-statement el
How to call parameterized method from JSP using JSTL/EL

How to call a Java method with arguments which is defined in Java class, from JSP using JSTL/EL. The …

jsp jstl parameter-passing el methodexpression
How to reference constants in EL?

How do you reference an constants with EL on a JSP page? I have an interface Addresses with a constant …

jsp constants el
Expression Language in JSP not working

I am new to JSP and using Expression language. I am using Eclipse Galileo with version 2.5 and Tomcat 6 server . I …

java jsp el
How to encode a String representing URL path with JSTL?

What is the best way to URL-encode a String representing URL path (not request parameter) with JSTL? <c:url …

jsp jstl el uriencoding
How to test if a string contains the given value in EL?

I have a list of String and i set it into a session: session.setAttribute("datas", result.getBody().getDatas()); Then …

jsp jstl el
How do I round a number in JSTL?

I'm doing a division in a JSP and I'd like to round the result - how should I do this? …

math jsp jstl el rounding
JSF: h:outputText; how to show a dash when the value is empty string?

I'm using h:outputText tags to display readonly data. Ex: <h:outputText value="Phone Number:" /> <h:outputText …

jsf el