Skip to main content

All Questions

Tagged with
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 ...
ScatteredDream's user avatar
0 votes
1 answer
34 views

java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport

I have the following code in a JSP file for the tags which is included in all of my JSP files at the top: <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> &...
Tan's user avatar
  • 1,537
-3 votes
0 answers
27 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 ...
bitcash complex's user avatar
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 ...
shivam sharma's user avatar
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 ...
Akshaj Srivastava's user avatar
0 votes
1 answer
37 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 ...
The big bakchod show's user avatar
1 vote
1 answer
29 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 ...
Sumitツ's user avatar
1 vote
2 answers
308 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&...
ankur pramanik's user avatar
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....
Karthik 3489's user avatar
0 votes
0 answers
21 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 ...
venkat's user avatar
  • 1
2 votes
1 answer
2k 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&...
Klun's user avatar
  • 24
0 votes
0 answers
17 views

org.apache.jasper.JasperException: org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.jsp.login_jsp [duplicate]

enter image description hereenter image description here I've followed all the troubleshooting steps suggested on Stack Overflow, including comparing project settings, verifying library versions, ...
Parag's user avatar
  • 1
0 votes
0 answers
45 views

JSP printing html code instead of evaluating and rendering it

In my JSP file, I have a string coming from my Java file which reads value= "Set ${value}", I have another string which stores HTML code called htmlVal. When I print htmlVal by itself it ...
Codespace Mumbai's user avatar
0 votes
0 answers
40 views

Xss prevention in JSP [duplicate]

XSS is well known vulnerability in JSP. There are lot of information on web (and on stack overflow) about preventing XSS in JSP. I have found printing user input with <c:out> is most commonly ...
LuMa's user avatar
  • 13
0 votes
0 answers
65 views

How to display a list from database in a JSP page [duplicate]

Cannot display data from database: Page Image: ProductListServlet.java @WebServlet("/ProductServlet") public class ProductListServlet extends HttpServlet { @Override protected void ...
Владислав Карпенко's user avatar

15 30 50 per page
1
2 3 4 5
251