Questions tagged as 'mvc'

1
answer

Spring data JPA findOne () returns null

I'm developing an application using Spring MVC, with spring data jpa in the persistence layer. When I try to do a search using the method findOne (or findById ) will always return null. I already checked the database and there...
asked by 30.05.2017 / 04:59
0
answers

The if condition is not accepting in asp.net mvc razor

I want to do an update with a condition, however, it is updating the data without seeing the condition of if using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using BlogWeb.ViewsModels;...
asked by 26.05.2017 / 16:31
0
answers

about login form with session (user disabled) treatment

Hello, good afternoon, I would like to know how do I log in the system does not let the administrator log on that is not enabled (level == 5) I have already tried everything, and the code I am touching is very mixed, I wanted it would do the same...
asked by 30.05.2017 / 21:13
0
answers

How to check in the API if a user who is being searched in the database is the user that is logged in?

I am using Laravel and I need to create an attribute (is_me) in the model to know if the current profile belongs to the user that is logged in; I was doing as below, but now that I'm using API I can no longer use Auth :: user () public func...
asked by 30.05.2017 / 21:27
1
answer

Spring mvc bootstrap

asked by 19.05.2017 / 03:37
1
answer

Doubts - JSP - Servlets

Good morning everyone, I'm having trouble running CRUD in a test app .... I did it with the (almost) MVC standard, the problem is that by clicking on the "New Product" form and filling in the fields it does not insert, it only directs me to a...
asked by 12.05.2017 / 15:09
1
answer

Action of form not found Not Found!

I have a project in PHP using MVC, right ... a form was created for registrations that would be sent by jQuery Ajax, but at the time of setting the url to which the form would be sent it does not find the desired Controller to execute the submit...
asked by 14.04.2017 / 13:47
0
answers

Default MVC - What layer classes of files do they belong to?

What layer classes intended to handle files should they stay in? Model or Controller?     
asked by 02.03.2017 / 23:53
1
answer

Filling and submitting forms with Spring MVC and JSP

I'm starting Java Web , developing a stocking system following the Caelum Java applet for Web. All front-end and the persistence layer have already been developed with only the control integrating the two, but I have a lot of doubts...
asked by 07.03.2017 / 17:53
1
answer

If Load javascript

I have a following script. There are two checkboxes that will work like two radios buttons, what happens to me, when I click on a checkbox it disables all the questions of the form and also disables the checkbox that was not selected, and when I...
asked by 07.03.2017 / 14:37