All Questions
2,446
questions
0
votes
0
answers
20
views
JSP Page corrupting after closing and re-opening eclipse
This is the second time this has occurred for me. The first one I wasn't sure if I had saved or not before closing Eclipse but this one I'm sure I've saved before closing it.
So, after saving and ...
0
votes
0
answers
34
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
0
answers
25
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://...
0
votes
0
answers
47
views
jsf and jstl in xhtml page c:choose and c:if not behave that way the condition speak
I have Xhtml page wrote by jsf, I'm not sure what happen into the page that test failed one condition and always true or false , I check test condition and said the false and true happen the way ...
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:/...
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....
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 &...
-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" %&...
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:/...
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 ...
1
vote
1
answer
80
views
Encode URL passed to JSTL list item
In my tomcat web app, I implemented anti-csrf token like this:
<form method="post" action="<%=response.encodeURL("buy")%>">
So, the URL becomes: http://10.0....
0
votes
1
answer
952
views
java- jstl in spring mvc is giving JstlCoreTLV cast error [duplicate]
I am trying to use jstl in my java spring mvc project.
here is the dependency
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version&...
8
votes
1
answer
14k
views
Migration to Jakarta EE: Unable to find taglib [c] for URI: [jakarta.tags.core] [duplicate]
I am trying to upgrade from Spring 5 to Spring 6 and get the following error:
Unable to find taglib [c] for URI: [jakarta.tags.core]
I have the following in my pom:
<dependency>
<...