Skip to main content

All Questions

Tagged with
1 vote
1 answer
3k views

How add JSTL to my IntelliJ Jakarta EE 10 project running GlassFish

First, sorry for my poor english. I begin to learn jakarta EE and I discover Jakarta Standard Tag Library (JSTL) for prevent XSS attack. The IDE say this : "cannot resolve taglib uri" I don'...
Benjamin BASSET's user avatar
8 votes
1 answer
14k views

Migration to Jakarta EE: Unable to find taglib [c] for URI: [jakarta.tags.core] [duplicate]

I am trying to upgrade from Spring 5 to Spring 6 and get the following error: Unable to find taglib [c] for URI: [jakarta.tags.core] I have the following in my pom: <dependency> <...
morja's user avatar
  • 8,462
0 votes
0 answers
104 views

How to pass literal String array to jsp:attribute

I have a a JSP attribute in a JSP Tag file and I'm trying to pass it a literal String like {"Something", "Something else"} Is there anyway to do it? This is the closest I've come ...
Kerdos Media's user avatar
2 votes
2 answers
455 views

JSTL foreach displays the var name instead of it's value [duplicate]

Hello I am learning Java EE, and now I am on the JSTL part. I am trying to display the variable value using a foreach loop, but the result is always the variable name instead of its value . I searched ...
Arbani Oumaima's user avatar
0 votes
1 answer
4k views

How to check a request parameter in JSP using JSTL, especially <c:set> tag?

I'm trying to parse a request param in my JSP using tags: <c:if> and <c:set> The parameter is named result, so my variable in jsp is requestScope["result"] I have two issues: I ...
Mohammed ESSABRI's user avatar
0 votes
1 answer
240 views

Don't know how to iterate over supplied "items" in forEach ArrayList of objects(shopping cart) [duplicate]

Ok, so I'm trying to add products to cart by introducing them in an ArrayList in servlet but the jstl "forEach" does not know how to iterate over it so im guessing im not doing a good job (I'm new to ...
Aurel Lungu's user avatar
0 votes
1 answer
395 views

JSTL tag is not work

I have a JSTL page and I want to print a value. This is my jstl page <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <html> <head> <title>Application</...
Doflamingo's user avatar
0 votes
1 answer
1k views

JSTL tag doesn't work in my jsp

I have create a maven project and I have to use JSTL. The problem is that when I import the library it doesn't work. I want set a variable and after I want show the value. This is my jsp page: <...
Doflamingo18's user avatar
-3 votes
1 answer
87 views

Eclipse||JSTL Core Tags || behaviour

I am new to JSP and at beginner stage. While I was coding a JSP using JSTL core tags I found that the core tags were not Identified, eventually I ended up here found that need to Add the JSTL jar. I ...
Shailendra's user avatar
1 vote
1 answer
1k views

Why JSTL tags are ignored within jsp page?

I am trying to use JSTL in a page. I included it with no error or warning, but when I run the page on a glassfish server only simple html is showing and none of JSTL tags or code related to it is ...
hal's user avatar
  • 841
0 votes
0 answers
36 views

JSTL to retrieve value from 2 map

I have 2 map. 1 is from applicationScope and another 1 is from sessionScope. applicationScopeMap Object: { "1":{"id":"1","name":"SampleName 1","mobile":"9912345678"} "2":{"id":"2","name":"...
Shakthi's user avatar
  • 854
0 votes
1 answer
209 views

HIbernate - Many to Many - Nested c:foreach

I'm trying to run a nested c:loop in the following. Before the page loads, i get a list itemsextrascat objects with itemsextrascatService.getExtrascatByIditems(item). No problem here, i get the right ...
Marios's user avatar
  • 130
0 votes
1 answer
611 views

Importing XML file into JSP project from totally different JSP project

I have created a JSP project named 'JSTL XML 2'. I have another JSP project named '39-JSTL_XML' in the same workspace. I have added one XML file called 'UsersXML.xml' in web-content folder of '39-...
Arpit Shukla's user avatar
0 votes
0 answers
192 views

JSTL configuration

I don't know what I've done incorrectly, but I can't include JSTL. I have jstl-1.2.zip, taglibs-standard-jstlel-1.2.5.zip in my WEB-INF/lib but unfortunately I get exception: jsp/jstl/core cannot be ...
Y.halaoui's user avatar
0 votes
0 answers
752 views

JSP, button and JSTL

I'm new to jsp and jstl tags. My goal is to make a 'Roll a dice' program, which can be started with button click or reset with another button. How do I use <c:choose> on button click? Here is my ...
Jani Oksanen's user avatar

15 30 50 per page
1
2 3 4 5
11