Questions tagged as 'jstl'

1
answer

Blank space JSTL

I'm having a really annoying problem, when my jsp is mounted I have a foreach in jstl that leaves my absurdly giant final code, worse than I realized it's just white space. Here is the code: <c:forEach var="column" items="${tela.targetXm...
asked by 29.06.2017 / 15:01
1
answer

How to mount a link in the JSP with the value of an input?

Is it possible to create a link (href) or an action (form) by taking the value of an input to pass to a @PathVariable of a method in the controller? My code is the following in the controller: @RequestMapping(value="atendimentos/{numeroCham...
asked by 04.02.2016 / 15:05
2
answers

Select does not select the correct value

I have the following problem: <select name="cargo" id="selectCargo" class="form-control show-tick maiuscula" required > <option value="">ESCOLHA A EMPRESA</option> <c:forEach items="${filaEmpresa }" var = "fil...
asked by 09.12.2017 / 13:32
1
answer

Problem in web.xml

Hello I have my web.xml, I want to put the jstl dependency, for this I am using the following code: <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version&...
asked by 17.01.2017 / 18:57
0
answers

Java web, jstl: How to execute a method in the servlet when exiting an input text ex: "check if the availability of name to register"

How to execute a method when exiting a input text. Example I will make a registration at the moment of registering as a user I want to check if that name is available to be used, being that it can not accept repeated users, to avoid that...
asked by 20.12.2018 / 17:08
0
answers

NullPointException using JSTL

Hello. Well, I'm having a problem trying to pull a list of users using a c: forEach. When requesting the list, a NullPointException is returned, which, although I understand the reason for the return, I can not identify why. Testing with anot...
asked by 17.11.2017 / 19:42
1
answer

Doubt with Expression Language JSTL JSP

How to check the value that is arriving in the EL, in the variable listItems for items? <c:forEach var="pedido" items="${listPedidos}" varStatus="id"> <c:if test="${pedido.tipoPedido == 'MESA' }"> <tr>...
asked by 21.07.2017 / 17:25
1
answer

How to summarize a long text using Thymeleaf?

I have an object with two attributes, one is the id and the other is an attribute of the strring type called text of the type "TEXT" (postgres bank) that is used to store the text of a client post. When the application loads these I would lik...
asked by 28.03.2017 / 13:28
1
answer

Error trying to call Controller through View - SpringMVC

I'm developing a system using SpringMVC, when trying to make a call to the controller using the "s: mvcUrl" statement in the JSP the HTTP 404 error is displayed. I noticed that spring does not transform the "s: mvcUrl" statement into html....
asked by 28.12.2016 / 13:21
1
answer

Jsp with scriptlets, taglib or jstl

Hello, I just registered and this is my first question. Sorry for any rules I'm not following with this post. Well, a short time ago I started to learn jsp in college, I introduced a bit of scriptlet (I think that's ) and taglib () and there'...
asked by 05.10.2016 / 05:45