Questions tagged as 'spring'

1
answer

How to do a find with pagination and search term at the same time with Spring data?

Hello, my question is the following. I want to do a search by passing a PageRequest and an Object or some search terms and get a list back. For example: List getList (PageRequest page); In this case I want the search to return the records...
asked by 18.01.2018 / 04:44
1
answer

I can not access static content in spring-mvc

How do I access the static content of spring-mvc? For example a css. I have the following spring setting: import java.util.Properties; import javax.sql.DataSource; import org.hibernate.ejb.HibernatePersistence; import org.springframework....
asked by 26.06.2016 / 21:23
1
answer

Spring Loaded is not working

I have a Spring 3.1.4 project I'm setting the spring-loaded below the image below: Tomcat runs right but spring-loaded is not working any changes I have to raise tomcat again.     
asked by 22.03.2016 / 17:31
1
answer

error in $ http with ionic and spring

I have an API with spring framework follow the method below: @RequestMapping(value = "/users", method = RequestMethod.GET) public @ResponseBody ResponseEntity<List<Usuario>> listUsers () { return new ResponseEntity<List<U...
asked by 08.02.2016 / 15:30
1
answer

JSP page being displayed as Java Spring text

My JSP page is being displayed as text. I'm using Spring and Spring Security. When I open the link to my page in the browser it opens as text (All HTML appears written on the screen as if I had opened the page in the same notebook) and does no...
asked by 30.06.2015 / 04:42
2
answers

Audit change in Java + Spring + Oracle application

I have a task to change an audit implementation in an application in which I work. The audit requirement is to know the history of changes, and the execution of certain tasks by a particular user. (Initial State -> Modification 1 -> ... -> M...
asked by 19.01.2015 / 13:46
1
answer

Interceptor in Spring MVC

I made an interceptor so that every time the system had a message to display I would trigger a javascript with the message. public class MessagesInterceptor extends HandlerInterceptorAdapter { public static final String urlBase = "http://...
asked by 21.01.2015 / 00:53
1
answer

Spring Framework in modular design by Apache Maven

I created a modular web project using Apache Maven with the following structure: proj-build |--- proj-utils |--- proj-persistence |--- proj-services |--- proj-web '--- proj-ear Description proj-build : This groups the modules only to...
asked by 29.06.2014 / 07:45
1
answer

Update all schemas with multitenancy architecture

Good morning. Next, I have a multitenancy application using Hibernate with JPA. We recently deployed the multitenancy architecture and in persistence.xml was configured to automatically update the default schema when deployed to the project,...
asked by 16.02.2015 / 12:55
1
answer

Client side object instance deleted and sent to server

I would like to know if anyone has already had this problem and how to resolve it. I'm using JSP and Spring Data JPA. Deleto records the middle of a form that is a detail using Javascript, right? But when I give a POST, the server creates...
asked by 07.01.2015 / 19:44