Top "Jstl" questions

JSTL (JSP Standard Tag Library) is a JSP based standard tag library which offers tags to control the flow in the JSP page, date/number formatting and internationalization facilities and several utility EL functions.

How can I print error stack trace in JSP page?

I have set my error page like this in web.xml: <error-page> <exception-type>java.lang.Exception&…

java jsp exception servlets jstl
How to escape double quotes in JSTL function / EL?

I need to change " to \" with JSTL replace function to use the string in input tag like: <input type="…

java jstl el
difference between eq and == in JSP

What is the difference, if any, between the keyword 'eq' and the operator '==' in JSP Expression Language? In …

jsp jstl
How to alternate HTML table row colors using JSP?

How do I alternate HTML table row colors using JSP? My CSS looks something like: tr.odd {background-color: #EEDDEE} tr.…

html css jsp jstl
Read data from HashMap using JSTL tag in JSP without using for each or for loop

I want to read data from a hash map in JSP, but without the use of JSTL <c:forEach&…

java jsp map jstl
jsessionid is occurred in all urls which are generated by jstl <c:url..> tag

I've got some strange bug: when I open page first time in some browser all references has jsessionid parameter (like &…

jsp jstl jsessionid
<c:if test> seems to always evaluate true in JSF2 Facelets

I am using JSF2 on Facelets. I define an <ui:param> in a page: <ui:composition template="/…

jsf jsf-2 jstl facelets
JSTL forEach reverse order

Using JSTL's forEach tag, is it possible to iterate in reverse order?

java jsp jstl
What is the difference between <c:if> and <c:when>?

I've noticed usages of <c:if ...> in one place of JSP code and <c:when ...> in …

jsp jstl
How can i use JSTL variable in scriptlet?

I have to access the JSTL variable which is calculated inside the iterator. Excerpt of code: <c:forEach var="…

java jsp jstl scriptlet