Questions tagged as 'spring-mvc'

1
answer

Bootstrap Javascript does not work

I'm doing a page with Spring (JAVA) , and Bootstrap 4.0.0 . At first I had made the calls to the bootstrap files via web link, and everything worked perfectly. Now I want to change those calls to make them using the files locally, that is, I...
asked by 09.02.2018 / 16:46
0
answers

Intercept error 404 with Spring

I need your help ... I have been sent to capture the error 404 on a page that is in use. The project is from Spring, but it's not mine and I've never touched it, so I do not know exactly how everything works. It has a driver to handle the errors...
asked by 23.04.2018 / 12:55
0
answers

Refresh DIV after sending model from Spring controller

You see, I am working with spring and thymeleaf and I am just a beginner in this subject; I have the following tree which contains some modules and beside it is a form with which you can create and edit the modules. my problem is that when I...
asked by 08.09.2017 / 17:24
1
answer

HibernateException: getCriteriaBuilder is not valid without active transaction

I am developing a Java Web application with Spring MVC and Hibernate, I am new in the development with these frameworks and I am trying to list some records but I get the following: org.hibernate.HibernateException: getCriteriaBuilder is not v...
asked by 01.08.2017 / 00:05
1
answer

Problem when converting objects from a select with Spring MVC

Greetings, I have a page where you must make records of an employee in which an attribute is an object (relationship with another table) and to specify it is done by a select that this time I use the Spring but I get the Next error in validation...
asked by 07.08.2017 / 22:06
1
answer

Data autocompletion with Booststrap Typeahead + Spring MVC and JavaScript from the database

I am trying to autocomplete data using the bootstrap typeahead. The idea is that, when you write a code in the input, do a search from the database. When selecting one of them, I automatically fill in the code and the name. I tried to do i...
asked by 08.03.2017 / 16:06
1
answer

Help with autocomplete in Spring mvc and jquery

I am using the following: Spring 4.3.5 Apache Tomcat 8 Hibernate 4.3.1 And I have implemented the following: My view box.xhtml <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="c" uri="http://java....
asked by 21.02.2017 / 01:14
0
answers

Error Http 400 with Spring MVC

I am developing an application with Spring MVC and I have an http 400 request error. The first time I call controller login for a request get redirects me to the jsp login and then the form jsp calls me back to the contro...
asked by 10.01.2017 / 13:22
1
answer

I can not inject BCryptEncoder in linux but in windows

my spring mvc / security project can not initialize because there is a problem with the BCryptEncoder: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.security.crypto.bcrypt.BCry...
asked by 24.11.2016 / 12:22
0
answers

Put a default content in JSP layout

I'm trying to create views using a layout in jsp , this is my layout : /WEB-INF/tags/layouts/layout.tag <%@tag description="Layout de las paginas" pageEncoding="UTF-8"%> <%@attribute name="title" fragment="true" %&...
asked by 30.06.2016 / 20:20