All Questions
27,457
questions
-3
votes
0
answers
30
views
Java Template engine that externalizes "Common" JSP file (not HTML) is not available. It is needed as it helps developer to ease the development [closed]
can someone suggest best java Template engine that externalizes "Common.jsp" JSP file (not HTML).
This common JSP file should have header.jsp, footer.jsp, LeftMenu.jsp and should have a ...
0
votes
0
answers
17
views
Is there a way for passing multipart config to auto configured JSP Servlet on jboss eap8 with undertow, spring-web-6.1.9?
The problem
I am migrating from eap7 to 8 (also from javax to jakarta), and have a request with MultipartFile. My app is using jsp. File gets to the server, in controller it is processed (not written) ...
-2
votes
0
answers
40
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 ...
1
vote
1
answer
42
views
Error: Missing Type HttpServletRequest in Maven Project for File Upload
Question:
I am working on a Maven project for a file upload servlet and encountered an issue. When I try to parse the request using ServletFileUpload, I get the following error:
The method ...
-1
votes
1
answer
48
views
In a JSP file use a form to call a method in a java file to create and then download a a csv file for the user [duplicate]
Having a hard time figuring out how to get my JSP file to trigger a method in my java while using a form. The method sends a query to a db, I want to take the result set from that query and turn in ...
-3
votes
0
answers
32
views
Jquery Datatable not working in the JSP file
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="...
-1
votes
0
answers
40
views
Error with login session/cache using Servlets and JSP
I don't know how to describe the problem very well technically, but I'm making an application using Servlets and JSP and I'm having a specific user authentication problem.
When I log in as a user with ...
0
votes
0
answers
46
views
Controller unable to pass model values to View page [duplicate]
My viewEmployees method in Controller
@Autowired
private EmployeeDao employeeDao;
@GetMapping("/employees")
public String viewEmployees(Model model) {
...
0
votes
1
answer
50
views
How to put files to out/artifacts the JSP file is not generated
How to put files to out/artifacts the JSP file is not generated.
Project structure:
The JSP file shown in the figure is not generated.
I can only put manually copied files into the out/artifacts ...
0
votes
1
answer
44
views
JSP page unable to get attribute from a Servlet with and without .getSession
I have a web app that must get the city name and, by an API request, it should give the foirecast for that city. But in the JSP file I am not able to get a variable with getAttribute from the ...
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
17
views
Servlet gives 404 error when tried to access [duplicate]
I am developing a web app with JSP and Java. I am doing my first Servlet and I have a problem that I don't know how to resolve. I am using Tomcat 8 and I restarted the server.
I have this basic ...
-1
votes
1
answer
40
views
Getting ClassNotFound Error for Java Web Servlet [duplicate]
The application is running smoothly on Tomcat web server.
Whenever I try to access this java web servlet URL/prepare_payment i get the following error:
SEVERE: Allocate exception for servlet [Servlet ...
1
vote
1
answer
46
views
Content Disposition break the JSP Request
I am working on adding functionality download functionality to a Java app using JSP and Struts 1.2.9 for UI.
Basically, I am fetching a list of data from the DB and then generate a CSV file from the ...