Skip to main content

All Questions

Tagged with
0 votes
2 answers
75 views

How to evaluate EL expression in Tomcat servlet environment?

How to evaluate EL expression in Tomcat servlet? Tomcat uses Jasper EL. https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jasper-el https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/...
eastwater's user avatar
  • 5,266
0 votes
3 answers
59 views

How to put Java code in JSP file with SpringBoot?

I got this error after I put this code on my index.jsp file The code : <body> <h1>Student</h1> <p> Status Connection : ${connStatus == "Connected" ? &...
lilkm's user avatar
  • 1
1 vote
1 answer
48 views

Why ${message} appear as it is in View and not the real message passed in Spring MVC controller [duplicate]

I'm trying to learn Spring MVC and encountered an issue. Please see the attached code. I'm not getting the real message on View and instead ${message} on View. What could be the issue here? This is ...
Deepthi's user avatar
  • 897
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
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
33 views

EL expressions are not evaluated in JSP [duplicate]

My index.jsp page: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!DOCTYPE html> <html> <head> <title>JSP page</title> &...
dddryinside's user avatar
0 votes
1 answer
123 views

Access JavaBean object and pass argument to JSP using EL

I am trying to convert our legacy code into JSTL+EL in our application. I just wanted to know if there's a way to access a JavaBean object and methods with arguments in JSP using EL? So here's the ...
Rgnr's user avatar
  • 21
-1 votes
1 answer
47 views

How to remove previous request parameter from URL query string

when i click on one category, it show the list of products of this category, the url will be: http://localhost:9999/toyshop/home?category=Đồ%20chơi%20theo%20phim but when I click on the next ...
Vo Hong Thai's user avatar
1 vote
1 answer
61 views

How to evaluate a scriptlet variable in EL

I have <%@taglib prefix="e" uri="https://www.owasp.org/index.php/OWASP_Java_Encoder_Project" %> and also just for testing <%@ taglib prefix="c" uri="http://...
nPcomp's user avatar
  • 9,497
1 vote
2 answers
109 views

JSP question about accessing keys in an object?

Let's say you have something like this: <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <table> <c:forEach items="${products}" var=&...
EtherealCodingPro's user avatar
-1 votes
1 answer
49 views

Literally causing a StackOverflowError - Tiles 3

Migrating from the Struts 1.3/Tiles 1.x combo to the Struts 2/Tiles 3. But this is really a Tiles question Previously there was support for a bean declaration within the definition to support ...
Arbuz Melon's user avatar
0 votes
1 answer
78 views

JSP does not recognize the fn prefix when compiling

I'm unfamiliar with Jsp and Jstl , I created this little comparator to sort all my users by name: <c:set var="userList" value="${fn:toList(users)}"/> <c:set var="...
Jacket's user avatar
  • 373
0 votes
0 answers
26 views

Data and Images are not being displayed on JSP page and I couldn't figure it out why? [duplicate]

I am working on a personal project to get some coding practice with JSP and servlets. I am using MySql for storing data and I want to render 'user' data to user_list.jsp. Even though the page is ...
Sid's user avatar
  • 132
1 vote
1 answer
85 views

Substring function in JSP does not respond in an alert function

The following code does not show the alert of "abc" but there is no any error message? Any idea to solve it? <%@ include file="includes.jsp"%> <script src="js/...
SBMVNO's user avatar
  • 632
0 votes
1 answer
72 views

How does EL know which methods of which Java files to call? [duplicate]

I came across the following code: <c:set var="list value="${actionBean.ABC}"> in a JSP file. Then I found it is calling the following method in one of the Java files: List<...&...
shole's user avatar
  • 4,064

15 30 50 per page
1
2 3 4 5
77