operator « EL « JSP-Servlet Q&A





1. When should you use textual "or, and, not" over symbolic "||, &&, !" logical operators in JSP EL?    stackoverflow.com

The textual versions may improve readability for non-programmers, but otherwise I can't imagine any differentiators.

2. Jsp and ?: not working as expected    stackoverflow.com

I have this code:

<c:forEach var="product" items="${products}" begin="${begin}" end="${end}" varStatus="loopStatus" step="1">
    <div class="home_app "${loopStatus.index % 2 == 0 ? '' : 'white_bg'}">
When I browse to the jsp I am ...

3. EL && Logic Operators    coderanch.com

4. Doubt In EL Operators    coderanch.com