Questions tagged as 'spring'

0
answers

Help with JasperReport, why do you send the following error and it is not displayed?

I have the following code in my controller, where what is returned is the name of my report prueba_reporte @RequestMapping("/report") public String verReporte(Model model, @RequestParam(name = "format", defaultValue="pdf", requir...
asked by 01.10.2018 / 02:45
0
answers

How can I generate a pdf with jasperReport from the controller?

I just start in this and I do not know how to implement a pdf, I'm using mvc spring, I already have a format made with iReport, now what I want is to visualize it in my jsp so I can download it, but how do I do it? Does anyone have a code tha...
asked by 28.09.2018 / 06:41
0
answers

Problem with MultipartFile from the Spring java framework

I am working to upload the images as avatars of the users, but it throws an error to me when trying to write the image and to keep it, I am working with MultiparFile of Spring, but I do not have much knowledge of it.    This is my RequestMapp...
asked by 27.09.2018 / 02:10
0
answers

Contribution SpringData (SpringDataRepositoryGenerator)

This time what I share is a small utility for the generation of Spring Data Repositorys. The code was uploaded to the following link. link     
asked by 28.09.2018 / 23:15
0
answers

kotlin (Spring boot 2 + JPA + mysql) - Error creating bean with name

I'm working with kotlinVersion = '1.2.51' springBootVersion = '2.0.5.RELEASE' java 8 but I have an error when compiling the code I get something like org.springframework.beans.factory.UnsatisfiedDependencyException: Error crea...
asked by 24.09.2018 / 22:59
0
answers

Help with persistence, how to make several inserts in a single table?

I have the following model and I have a form with 4 combos that are filled with the same catalog CatalogoPerdida and a button guardar , when clicking on this button I must insert in the table PerdidaTiempo , but I mus...
asked by 20.09.2018 / 07:06
0
answers

Help retrieving data from a controller with Spring?

I have the following method that returns a list, from which I want to retrieve a field and if you bring it to me, I use the model to send the value of that field to the jsp, but it does not show anything in the browser console @ResponseB...
asked by 14.09.2018 / 06:17
1
answer

Spring Boot with CKEditor and Ajax

My problem seems to be simple but I can not make it work as I would like. Since I want to register the value of a rich text. The form only has a rich text using CKEditor and a button to register. <!DOCTYPE html> <html lang="en" xm...
asked by 05.09.2018 / 10:45
0
answers

How can I pass a controller variable to a jsp?

I have the following method in which I recover values, and I do an operation with these values, what I want to do is send my variable total to jsp, 'because I want to validate with that value, and for example, if my variable total...
asked by 10.09.2018 / 22:15
0
answers

Ajax does not call Spring Boot driver

Hi, I have trouble calling a controller using ajax, what I want to do is go to another page using ajax. function validar(){ var codigo= $('#codigo').val(); $.ajax({ type : "GET",...
asked by 22.08.2018 / 20:43