51,581 questions
-1
votes
0
answers
15
views
SPRING MVC throws error404 how to resolve it
I'm encountering an HTTP Status 404 – Not Found error when I try to access the following URL in my Spring MVC application:
http://localhost:8080/DemoMVC/add?t1=2&t2=4
The error indicates that the ...
0
votes
1
answer
31
views
Non reproduceable jakarta.servlet.jsp.JspTagException [closed]
I'm sporadically getting jakarta.servlet.jsp.JspTagException in my Java webapp.
When they happen, there are always a few of them in a short timeframe (minutes), followed by hours or days without them.
...
0
votes
0
answers
19
views
com.ibm.ws.jsf.taglib doStartTag Can't leverage base class
I'm trying to run a Java 8 JSP project, but I'm encountering errors when attempting to reach a JSP page. Here are the details of the errors:
java.lang....
0
votes
0
answers
46
views
Working with jsp files not html except login.html which is first page [duplicate]
I am working with web project using Servlet. When I am redirecting to after login.html form it is not showing .html file but .jsp with same content.
Here is my code screenshot and directory structure.
...
0
votes
1
answer
47
views
Spring 6 and ExpressionEvaluationUtils [duplicate]
I have inherited an ancient codebase web application using Spring and JSPs. I've been charged with moving from Spring 3 to Spring 6.
Inside a tag is the following code:
str = ExpressionEvaluationUtils....
-1
votes
0
answers
14
views
Getting Error as 'Error: Cannot parse null string'
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
Below lines of code add passengers dynamically based on the passenger count.
...
1
vote
1
answer
65
views
JSP file is not rendering on browser for Spring Boot application
I am working on a Spring Boot web app, where I am trying to load a simple JSP file to the browser with Tomcat (embedded), through my controller. I am able to print the message inside home to the ...
0
votes
0
answers
46
views
BUILD FAILED on almost empty project in Netbeans with JSP
I am trying to run a simple project in Netbeans 16. It has only 2 files:
index.jsp with this content:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import=...
-1
votes
0
answers
48
views
<c:foreach> not working for jakarta netbeans only for SELECT statements [duplicate]
This Code is not working on Apache NetBeans. I'm using jakarta. Apparently it works on javax.
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="...
0
votes
0
answers
29
views
Not able to resolve: Caused by: jakarta.servlet.jsp.JspTagException: Illegal use of <when>-style tag without <choose> as its direct parent [duplicate]
We are getting below JspTagException randomly after javax to jakarta migration.
So can't able to identify the route cause for the issue.
Exception :
Caused by: jakarta.servlet.jsp.JspTagException: ...
-1
votes
0
answers
31
views
How to Download a JSP Page as a DOC File in Spring MVC?
I want to provide an option to download this generated JSP page as a .doc file. How can I achieve this in Spring MVC?
<%@ page import="java.text.SimpleDateFormat, java.util.Date" %>
...
0
votes
0
answers
20
views
Liferay portlet language.properties being pulled in but other languages not showing up
I am working on trying to add translations to a liferay portlet. The translations are going in jsp pages. I have been following the liferay instructions but no matter what I do I can't get it to pick ...
0
votes
0
answers
13
views
getting error as "datePicker.closest is not a function"
I am asking user to book appointment date and time against a doctor in the available doctor list in jsp file.
I am using flatpickr to get date and timeslot from the user. I have data in multiple rows ...
0
votes
1
answer
85
views
Spring MVC view resolver successfully resolves JSP, but it still will not load
I am trying to make a web app using Spring 6 (no Spring Boot), with mostly XML configuration. I'm trying to learn this in order to maintain an existing legacy application that uses plain Spring with ...
1
vote
1
answer
136
views
How to set up a Facelets template for a Jakarta Servlet web application (not a Jakarta Faces application)
This question was asked on Stack Overflow more than 12 years ago, and the answer was "No". Today, JSP is considered a deprecated technology, and Facelets has replaced it.
However, my ...