Skip to main content

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
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
0 votes
2 answers
47 views

JSP and JavaBeans, why can't I use a bean method's return value?

I am learning JSP and javabeans. I have written a simple web app that calculates loan repayments. The app correctly sets the bean's fields with user input (from a form). The bean also contains a ...
azeemofwalsall's user avatar
0 votes
1 answer
47 views

How to connect css and javascript in a .jsp file

I am having trouble connecting an external css and javascript file to its jsp. I tried doing the WebConfig as I read on google but I realised that my jsp files' path are done via application....
vaulted xx's user avatar
1 vote
1 answer
103 views

How to get rid of mysterious JSP Problems in Eclipse

I have the following errors in (just) one of the dozens *.jsp files we have in our project: Eclipse Problems view line 0 in a text editor is somehow funny, but OK, we devs often start to count there. ...
Gerold Broser's user avatar
0 votes
0 answers
33 views

Is it possible for the thymeleaf template and jsp pages to coexist in a Spring application?

I created a project called SpringJsp in STS 4 (Spring Boot version 3.2.2) in which I inserted the following dependency in the pom.xml file: <dependency> <groupId>org.apache....
Andrew dev's user avatar
0 votes
0 answers
27 views

Tomcat JSP include of UTF-8 .html file not working

A simple UTF-8 problem with a new Tomcat running in Eclipse: My index.html in UTF-8 works perfectly, and Eclipse can display the UTF characters. But wrapping it in this index.jsp is not working: <?...
Martin Gisser's user avatar
0 votes
0 answers
15 views

RequestDispatcher causing my textfield value disappear [duplicate]

This code is in my try catch block under SignUpServlet.java. dispatcher = request.getRequestDispatcher("/user/SignUp.jsp"); if (uEmail.isEmpty() || uFName.isEmpty() || uLName....
sonjuro's user avatar
  • 43
-1 votes
1 answer
51 views

I feel like the server cannot find my file even though the file path is correct

My plan is to check all textfields whether they are empty or not. If empty I want to display an error message and keep displaying the SignUp.jsp. This is the code: if (uEmail.isEmpty() || uFName....
sonjuro's user avatar
  • 43
0 votes
1 answer
36 views

Assigning an IP address to a jsp page [duplicate]

i just want to know that is it really possible to assign an IPaddress to a jsp page which i developed in eclipse . My requirement is i want this JSP page to open on my pc's IPAddress with a specific ...
Aam3r4's user avatar
  • 1
0 votes
1 answer
128 views

Wildfly Jakarta EE 10 Multipart forms missing

In the process of upgrading from Wildfly 25 to Wildfly 27 (and beyond), we are no longer seeing multipart forms. The request parts is null (see below at the bottom). So, I'm not sure where it is ...
Flowertown Technology's user avatar
0 votes
1 answer
40 views

The server does not display the answer when calculating [duplicate]

After running the program (calculator test sample), the result is not displayed. The Result line: ${requestScope.result} - does not change, although the result should be displayed instead of ${...
PavelPavlik's user avatar
0 votes
0 answers
20 views

How to access http status code in custom error Page in tomcat [duplicate]

I am using tomcat 8 and developing a generic custom error page in which i need to show custom error message based status code.if its 400 then need to display "message1" and if its 404 then &...
zila's user avatar
  • 1
0 votes
1 answer
58 views

What is the right syntax for jsp:include?

My application is a hybrid of Servlets and Spring. Most pages are divided in subsections, included in the main jsp using jsp:include. I'm having some issues when the target of the import is a REST ...
algiogia's user avatar
  • 945
0 votes
0 answers
35 views

Servet and JSP tag have different results from request.getRequestURI() [duplicate]

I use Spring MVC for a web site. I need to access a JSP page with the following url http://127.0.0.1/passwordReset In the controller for this page, HttpServletRequest request.getRequestURI() produces ...
curious1's user avatar
  • 14.5k
0 votes
0 answers
354 views

Whitelabel Error Page This application has no explicit mapping for /error. While Making a GET Request using Spring MVC

I am attempting to construct a simple web page and making a GET Request using Spring MVC, and I have encountered this issue. Whitelabel Error Page This application has no explicit mapping for /error,...
Gangadhar s's user avatar

15 30 50 per page
1
3 4
5
6 7
3467