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 to append loop index of c:forEach tag to Struts HTML tag attributes?

How can I append the loop index of a c:forEach tag to the attributes of a struts select/text …

jsp struts jstl struts-html
compare date with current time in jstl

Hello I'm trying compare a date with current time using jstl in a jsp file. How can I compare a …

jsp jstl date-comparison
JSTL LocalDateTime format

I want to format my Java 8 LocalDateTime object in "dd.MM.yyyy" pattern. Is there any library to format? I …

jsp jstl date-format java-time
How do you get embedded Jetty 9 to successfully resolve the JSTL URI?

I'm packaging a Web Application Archive (.war) so that it can be started via java -jar webapp.war in a …

jsp jetty jstl embedded-jetty
How to add values to an ArrayList referenced by jsp:useBean?

In JSP/JSTL, how can I set values for a usebean of class="java.util.ArrayList". If I try using …

jsp arraylist jstl usebean
Call javascript function with if JSTL

Is there a way to call a javascript function inside an if with JSTL? Here's the code <c:choose&…

java javascript jstl seam
Spring MVC tag interaction with custom tag

I have a JSP that is using Spring:form tags to bind controls to a command object. I would like …

spring spring-mvc jstl jsp-tags
Get current filename in JSP

Is there a way to get which JSP is currently rendered, with JSTL or Struts (or without)? like _ _ file _ _ in …

java jsp struts jstl
How to pass java variables from scriptlets to c:when expression in jstl?

what is a proper way to use variables from scriptlets in jstl? I don't know what is wrong in my …

java jsp jstl scriptlet
How can you check if a file exists before including/importing it in JSP?

Assuming that requestScope.importMe is expecting a path to a JSP file <c:choose> <c:when test="${!…

jsp import jstl file-exists