Skip to main content

Questions tagged [jstl]

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

0 votes
0 answers
24 views

A problem was encountered using TagExtraInfo class org.apache.taglibs.standard.tei.ForEachTEI for c:forEach' (c:out is still working perfect) [duplicate]

enter image description here Currently I'm using: Eclipse Version: 2023-06 Tomcat v10.1.12 web.xml file <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https:/...
GinQt's user avatar
  • 1
0 votes
1 answer
100 views

JSTL Increment date string in forEach loop

I have this <c:forEach> loop in JSTL. The date string is in the format MM/dd/yyyy and at the end of the for loop I would like to increment the day by 1 each time. <c:set var="currentDate&...
Rhett Harrison's user avatar
0 votes
0 answers
21 views

Upgrading Apache Tomcat from 7.0.50 JSTL stops working

I am in change of upgrading an older Apache Tomcat installation from 7.0.50 to 7.0.109. My issues started with any version greater than 7.0.50 it would cause JSTL to stop working. My solution was to ...
EnOne's user avatar
  • 1
0 votes
0 answers
12 views

What is the most obvious jakarta version of javax.servlet:jstl? [duplicate]

What is the jakarta version of <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> ...
ericj's user avatar
  • 2,279
-2 votes
1 answer
326 views

How to change code of struts tag into spring or jstl tag?

<bean:define id="user" name="form" property="user2" type="document.result" /> This is the example of my code. I was trying to convert my struts code ...
Data Set's user avatar
0 votes
0 answers
24 views

Can't Iterate List Where Come From Servlet [duplicate]

I'm trying to get product list and iterate them into JSP. There's my tried: ProductsServlet.java package product.servlet; import java.io.IOException; import java.sql.SQLException; import java.util....
bgebes's user avatar
  • 115
0 votes
0 answers
21 views

Getting exception in taglibs for 'when' tag after upgrading taglibs from 1.1.2 to 1.2.5 [duplicate]

I had to update the taglibs version (due to project requirement) from 1.1.2 to 1.2.5. After this update, while running UI I am getting this error: javax.servlet.jsp.JspTagException: Illegal use of &...
Nikhil's user avatar
  • 1
1 vote
2 answers
109 views

org.apache.jasper.JasperException: "equal symbol expected" when using JSTL c:out as value of Struts1 html:checkbox

I am using JSTL and Struts1 and I am getting org.apache.jasper.JasperException: "equal symbol expected" on the line with <html:checkbox>: <%@ taglib prefix="c" uri="...
star lord's user avatar
-1 votes
1 answer
70 views

Using JSTL to compare strings keeps failing

Using JSTL to compare strings keeps failing. Environment TOMCAT 7.0.47 JRE6 I have already imported the taglib: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&...
jun's user avatar
  • 1
0 votes
2 answers
2k views

<%@ not being recognized in any .jsp files on VSCode

As the title says, I've encountered an issue where not a single <%@ directive attribute is being even recognised in any jsp files on VSCode. For example something like <%@ taglib uri="http:/...
Oskari Rautiainen's user avatar
1 vote
1 answer
309 views

How to iterate through JSON Array or JSON object in JSP using JSTL

I'm having this json: { "maxAgentAmt": 66, "minComAmt": 3, "maxTxn": 7, "maxAmt": 99, "minAmt": 3, "maxComAmt": 99 } and I also have to get ...
Akhilesh Dhiman's user avatar
0 votes
1 answer
93 views

Web project not Running on Browser (error 500)

I am learing spring boot and am On a project named DocumentWeb it is a simple web project with a controller, a jsp the mode and the Document Repository (interface) which extends the JpaRepository The ...
Sammie 's user avatar
0 votes
1 answer
78 views

JSP does not recognize the fn prefix when compiling

I'm unfamiliar with Jsp and Jstl , I created this little comparator to sort all my users by name: <c:set var="userList" value="${fn:toList(users)}"/> <c:set var="...
Jacket's user avatar
  • 373
0 votes
0 answers
26 views

Data and Images are not being displayed on JSP page and I couldn't figure it out why? [duplicate]

I am working on a personal project to get some coding practice with JSP and servlets. I am using MySql for storing data and I want to render 'user' data to user_list.jsp. Even though the page is ...
Sid's user avatar
  • 132
0 votes
1 answer
84 views

request.setAttribute : How to move values to specific indexes?

I know that I can set a list as an attribute with the following code : List<String> elements = new ArrayList<>(); list.add("Element 1"); list.add("Element 2"); list.add(...
fandetv's user avatar
  • 15

15 30 50 per page