Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [jsp]

JSP (Jakarta Server Pages, formerly JavaServer Pages) is a Java-based view technology running on the server machine which allows you to write template text in client side languages (like HTML, CSS, JavaScript and so on) and interact with backend Java code.

jsp
-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 ...
Nagarjuna's user avatar
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) ...
ebc149's user avatar
  • 34
-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 ...
ScatteredDream's user avatar
1 vote
1 answer
80 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,559
1 vote
1 answer
43 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 ...
HKS11's user avatar
  • 9
-1 votes
0 answers
67 views

Why is my JSP code with a switch expression not working?

I'm trying to run this JSP code but it doesn't work, I get HTTP Status 500. Why? Aren't switch expressions supported? I do not want to use a switch statement, so please do not tell me to use this old ...
Ignis's user avatar
  • 19
-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 ...
Someone's user avatar
  • 31
-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="...
Raj Bura gohain's user avatar
-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 ...
mmicr0_nzs's user avatar
-1 votes
0 answers
38 views

Escaping outputs by default? [duplicate]

We are using an MVC arch and using JSP for view. Our codebase is a bit old and not many people focused on using escapeXML or c:out tags in JSPs which is causing a lot of XSS vulnerabilities now. We ...
Shubhankar Kumar's user avatar
1 vote
1 answer
72 views

How could I escape a value in custom JSP tag handler? [duplicate]

This is one of my field in one of my jsp file: <input class="form-input" id="login" type="text" name="login" <c:choose> <c:when test="${...
DoWhileFor's user avatar
-1 votes
0 answers
11 views

JSP redirection trough a servlet is not functioning as expected [duplicate]

Hey so i am running a program that when a cell on a board(on a jsp) is clicked, a servlet is launched, and that servlet can redirect to 1 of 2 jsp, my problem is that this redirection seems to not be ...
Letho123's user avatar
  • 127
0 votes
0 answers
23 views

get javascript table element in jsp [duplicate]

I'm using a jsp and I need to do something like this but it doesn't work, the elements of table doesn't show in my page and I tried to replace the extension of my jsp file into html and it works ...
Yaris Razafindramanana's user avatar
0 votes
0 answers
10 views

jsp <c:forEach table not generating [duplicate]

This is how I populate table public List<String[]> listTable = new ArrayList(); String[] foundPost = {"name", "nickName", "datePost", "subject", "...
Geoffrey Hebert's user avatar
-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

15 30 50 per page
1
2 3 4 5
3466