Questions tagged as 'controller'

1
answer

Form being rendered with wrong action attribute

I'm using the spring form tags to render the forms present in my views, but I'm having problems because they are being generated with the wrong action attribute. In my controller, I have the method: @RequestMapping(value="altera/{theString}...
asked by 21.06.2014 / 13:19
1
answer

Pass data via Ajax to the MVC Controller ASP.NET CORE C #

Hello, I'm a beginner in programming, and I'm trying to pass data via Ajax to my Controller, to be honest I'm just studying so I do not know for sure to understand the advantages of Jquery for this ... Following some examples, I did the follow...
asked by 18.11.2018 / 15:41
1
answer

Error 405 - "Request not supported method"

The method you are sending when clicking the button is a GET but in my JavaScript step as method POST and in Controller it expects to receive a POST method as well. My JS: function criaCategoria() { let tituloC...
asked by 22.10.2018 / 15:54
5
answers

What is the best way to pass data between php files

What is the best way to pass data between back-end and front-end, for example, send a form to the back end, it executes a SQL script and returns an array of data that must be shown, what best way to pass this data to the front end? form.php:...
asked by 21.03.2018 / 20:43