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.
jstl
5,484
questions
-3
votes
0
answers
24
views
Unable to use JSTL with embedded tomcat, returns Http Status Code 500 [duplicate]
"The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application"
I've scoured the web for hours trying various ...
0
votes
0
answers
32
views
Getting java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator in my Java Web Application project [duplicate]
I'm working on a Java web application and I'm encountering the following exception when I try to deploy my project:
java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator
at ...
0
votes
0
answers
18
views
Unable to load tag handler class [org.apache.taglibs.standard.tag.rt.sql.QueryTag] for tag [sql:query] [duplicate]
I am new to JSP pages. I am trying to use core Tags and sql tags in JSP using JSTL. But somehow I am getting the following error.Error 500 on Compilation
My JSP file is as follows:
<%@ page ...
0
votes
1
answer
36
views
How I can split the string based on "--" only in jsp
When I am trying to split the string based on "--"(double hyphen) its also splitting the string contain "-" (single hyphen)
**tempMessage="hello--Name:xyz";(its splitting ...
0
votes
0
answers
30
views
After JDK 17 migration JSP content not visible
Getting below warning
WARN [org.springframework.web.servlet.PageNotFound] (default task-4) No mapping for POST /VisitVerification/allmodal.ac
WARN [org.springframework.web.servlet.PageNotFound] (...
1
vote
1
answer
28
views
Neither BindingResult nor plain target object for bean name 'todooo' available as request attribute
While running the insert without validation it works, but when I added validation like targetdate must be future date and trying to show in form twoway binding, then this error started.
No idea on ...
0
votes
0
answers
70
views
java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator in Spring-boot jsp application [duplicate]
I am getting the error while hitting the home page.
java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator
I have created one spring-boot project where in the home.jsp page ...
0
votes
0
answers
23
views
Can JSTL or Custom Tag Libraries be Called from Thymeleaf?
Can we call JSTL or Custom Tag Libraries from inside of Thymeleaf?
We have numerous tags that we have built over the years and would prefer to not transform them to Thymeleaf Fragments.
0
votes
0
answers
38
views
How to fix CVE-2021-28170 Vulnerability in org.glassfish.web:jakarta.servlet.jsp.jstl:3.0.1; cannot find newer library version [duplicate]
The referenced CVE says "...Jakarta Expression Language implementation before 3.0.4..." Implying that a version 3.0.4 is available.
I'm darned if I can find it!
Mavenrepo (https://...
1
vote
2
answers
280
views
How to fix checkmarx reflected XSS attack in JSP page?
In the below JSP page Checkmax shows a Reflected XSS attack as I am using ${pageContext.reqest.contextPath} variable in JavaScript source. I have tried using
<script type="text/javascript&...
0
votes
0
answers
18
views
How to use JSTL in JSP: jakarta.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator [duplicate]
I am using TomCatServer v10.1 for Java Web Development project. I am not able to use JSTL in JSP and the error is
HTTP Status 500 – Internal Server Error
Type Exception Report
Message java.lang....
0
votes
0
answers
20
views
what this signifies <%@ taglib prefix="c" uri="jakarta.tags.core" %> in jsp file under src root folder src/webapp/WEB-INF/jsp/home.jsp? [duplicate]
I'm following a video where tutor added the above line to see result on jsp from controller after writing model.addAttribute("", ); and mentioned JSTL tags and jasper for rendering in ...
0
votes
1
answer
240
views
TagLibraryValidator error while using JSTL Tags
I have been practicing JSTL tags in EclipseIDE but the code is throwing an HTTP Status 500 error.
I am trying to integrate JSTL tags into my .jsp files, but I am facing a TagLibraryValidator error.
I ...
0
votes
0
answers
14
views
Facing issue while trying to run JSTL in a springboot project on Eclipse [duplicate]
in my pom.xml. I have
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<scope>provided</scope&...
2
votes
1
answer
1k
views
How to use JSTL in Tomcat 10.1 error : jakarta.tags.core is not recognized [duplicate]
I know that Tomcat v10.1, refers to the following SPECS :
Servlet 6.0
JSP 3.1
EL 5.0
So my Graddle dependencies are :
dependencies {
compileOnly "jakarta.servlet:jakarta.servlet-api:6.0.0&...