Questions tagged as 'spring-mvc'

0
answers

Pass value from href jquery to Spring MVC

Good afternoon, I'm having trouble passing an id that is in the jquery href to the Spring MVC controller update method. Can anybody help me. Thank you. $.ajax({ url : "listAllForum", dataType : 'json', success : functio...
asked by 04.04.2017 / 19:35
0
answers

Validation with Spring MVC

Talk about beauty? Well, I started to study Spring for Algaworks courses recently and today I came across a problem, it is the following: I have a form that shows me a list of employees, and how it was passed in the course, I also have...
asked by 15.12.2016 / 00:53
0
answers

Configuration jsp Template Using Apache Tiles with Spring

I made all the settings below but the template structure I created using Tiles is not being displayed on the main page along with its CSS. If anyone can help! tiles-config.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE til...
asked by 12.05.2016 / 01:29
0
answers

Null Parameters in JSF Request

I'm trying to send a parameter to a Spring bean but I can not, the map is always empty. Here is my code below: XHTML: <h:dataTable columns="2" value="#{tipoMaquinaView.objectSelecionado.imagens}" var="anexoImg" > <p:column...
asked by 13.10.2014 / 18:05
1
answer

BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

I'm having this error when running my application: 05-Oct-2016 21:18:25.586 SEVERE [localhost-startStop-26] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class org.spri...
asked by 06.10.2016 / 02:48
1
answer

Use clause "WHERE IN ()" IN SPRING BOOT JPA?

Does anyone know how I can use some clause similar to WHERE IN in spring jpa ? example: @Modifying @Transactional @Query(value = "Delete from table where id in(:ids)",nativeQuery=true) void deleteByIdid(@Param("ids") String...
asked by 18.03.2016 / 18:28
1
answer

Visitors Counter Using Spring Boot

I have a Mangos project using Spring Boot with AngularJs and, I wanted to implement a counter of visualizations, accessions, for each sleeve viewed. So I could sort the most Viewed Category Mangas per Week, Monthly and Total Views, same as Mang...
asked by 12.09.2018 / 21:54
1
answer

Send a list of objects to Spring using Thymeleaf

I have the following problem, I have an entity called Teacher and another called Class, teacher is with @OneToMany relationship to Class and when I try to save the marked classes in my checkbox in View the following error is displayed:    Erro...
asked by 09.02.2017 / 02:23
1
answer

How to send an object between controllers through Redirect

How to send an object through redirect between requests? I performed tests trying to send the object through the model, but without success. Follow the code: @RequestMapping("removeResultado") public String remove(RequestParam(value...
asked by 29.04.2016 / 14:40
1
answer

Problems in setting up the Spring project

Create a controller called HomeController and put the following settings: First Configuration That's good too. After that you have to configure the project so that it can see the page that is in that package: Second Configu...
asked by 15.10.2015 / 18:54