Questions tagged as 'controller'

1
answer

One method of the controller works correctly and another similar one returns error

I have two Controller files and two JSP files with the same structure. In JSP I have the following structure for AJAX: $.ajax({ method: "POST", url: '/modulo1/funcao1', data: { 'atributo1': atributo1,...
asked by 20.10.2015 / 15:48
1
answer

Unknown provider: ifFilterProvider - non-angular ifFilter

I have following in my app.js (function(){ 'use strict'; angular .module('app', ['ngResource','ngRoute']) .config(function ($routeProvider) { $routeProvider .otherwise({ redirectTo: '/' }); }) .c...
asked by 22.08.2014 / 00:26
1
answer

Query returns value of another user

I'm not able to compare the code (from the logged in professional) with the contracted codigoprofessional (which must be the same as the logged in professional) in the sql query and this causes the query to return a value from another profession...
asked by 10.11.2018 / 22:05
0
answers

mvc HTTP 404 error

Good, I created an ASP: NET WEB Core 2.0 Appl. I created views and controllers. When I make a submit via: <form asp-controller="Audit" asp-action="Search" method="post"> Instead of opening via (controller Audit, IAction, search,...
asked by 12.09.2018 / 12:48
2
answers
0
answers

bad request when sending number to Spring controller

I have a form that sends some data to a controller, when I send only text data it works fine, but when I send a given type number (and that in the controller I expect to receive a Double parameter) gives bad request error. If any field is sent e...
asked by 06.07.2018 / 11:53
1
answer

HttpPostedFileBase always empty when passing csv to the controller

Good Afternoon Personal, I'm having trouble passing a csv that is being sent from ajax using jquery to the controller where it always arrives null. Could you help me? View: @using (Html.BeginForm("Importar", "Contatos", FormMethod.Pos...
asked by 24.06.2018 / 20:12
1
answer

Save various data in Laravel

I have the following formula on my blade, and now I want to save the data for each row in my database. How to save this data in Laravel? for ($i = 0; $i < 12; $i++){ var minhaData = moment(DataVencimento).add($i, 'months');...
asked by 29.04.2018 / 22:29
0
answers

Request laravel returning null [closed]

Good afternoon guys, I'm new to frameworks but with the following problem: the request is returning empty for my query Thank you in advance "select * from 'usuarios' where 'cep' = ?" My controller is so public function procurapa...
asked by 11.11.2017 / 21:20
0
answers

success: function ajax call function from another javascript

function paginacao_tabela_clientes_status(idpessoa){ $.ajax ({ type: 'POST', dataType: 'json', url: BASE_URL + '/clients/tabela_clientes_pedido_entregue', data: {idpessoa: idpessoa},...
asked by 30.09.2017 / 08:17