Questions tagged as 'spring-mvc'

0
answers

Send Json with Ajax to Spring mvc

I can not send a json to a Spring MVC controller, I do not have any errors, but the controller does not print anything, I do not know what I'm failing. Javascript Ajax: var search = { "pName" : "bhanu", "lName" : "prasad" } var...
asked by 27.03.2018 / 19:48
1
answer

Customize the Popup that is generated in the layer: entity-field of gvNIX

I would like to know how to customize the following popup that rises in <layer:entity-field> I found the function fnPrepareInfo within layer but I do not know if That would be the function that I need and I...
asked by 03.02.2016 / 18:52
1
answer

Best way to modify (update) an object with Spring and Hibernate in this scenario?

I do not know how to move forward with this, to see if someone gives me a hand:) In the modal that I see in the image several loaded credentials will appear. Each credential can be edited or deleted and I'm having architectural problems...
asked by 03.12.2018 / 15:00
3
answers

Correct way to send data to a view with jpa spring framework

What is the best practice to send data to a view with Spring framework, it is correct to send an entity to a view or first convert an entity to a disc. This is because of the security issue, that not all the data in a table is necessar...
asked by 20.11.2017 / 22:40
1
answer

Because the variable City1 does not save the value in the first execution of the modal, and on the contrary in the second execution if it does

document.getElementById("BtnModal").onclick = Public; Ciudad1 = ""; function Publication(){ navigator.geolocation.getCurrentPosition(showPosition); function showPosition(position){ var geocoder = new google.maps.Geocoder();...
asked by 10.11.2016 / 06:55
1
answer

Difference between Filter and Interceptor in Spring

I really do not understand what is the purpose of each one since they perform very similar tasks. Could someone explain to me what is the difference between an Interceptor and a Filter in Spring?     
asked by 31.03.2017 / 00:34
2
answers

Spring STS 3.8.1 runs very slow in Ubuntu 16.04

This week my spring in ubuntu is too slow, to the point that I waste a lot of time cleaning my project, waiting for it to compile and that's where it stays stuck. The project is a mvc project with maven and we manage the versioning with git (wit...
asked by 21.09.2016 / 16:04
1
answer

Personalized access in Spring Security

Someone could help me in an access through Spring Security, I require that the authentication (Login) be done through a stored procedure (SP), which returns a character 'V' or 'F' as the case may be. How do I tell Spring Security which interp...
asked by 19.03.2016 / 01:44
1
answer

How to send an input's array to a Spring controller from JavaScript?

I'm having a lot of trouble doing what I need. I'll explain the code and the problem: The user must choose the ice cream tastes that he wishes by clicking on the checkboxes of the image and then send the order through the "Send Order...
asked by 26.11.2018 / 17:02
1
answer

Call the driver in SpringMVC

I need to call my controller directly when the application is started, to paint the html with the data, but I do not know how it is done - > <bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"/>...
asked by 25.10.2018 / 12:23