Questions tagged as 'spring-mvc'

2
answers

Approve or decline a request through the HandlerInterceptorAdapter

It is known that all requests by @RequestMapping are "public", where any user can access them through the browser. The question is how to approve Requests where only the system can request and refuse such request if it is accessed by...
asked by 15.04.2016 / 15:54
3
answers

Prevent an action from being intercepted by the Interceptor Handle

I implemented a class to intercept some urls and check if I have a logged-in user, if there is access to the url, otherwise I am automatically "played" to the login screen. It happens that in the page of a login I have a link to register a us...
asked by 23.11.2014 / 03:48
2
answers

URL Redirection With Spring MVC

I want to put in my project access to a page in a views subdirectory. Type views/pessoa/criar.jsp . How can I write a controller that accesses this page? I'm using Spring MVC 3 and InternalResourceViewResolver . I tried...
asked by 08.11.2014 / 23:59
2
answers

Why does Value in Spring MVC require an asterisk?

Why do I need to put * in value when there is nothing left? I mean, before using Spring MVC it worked without problems only as /planilha/ . getPlanilha works correctly but if it has the same RequestMethod and con...
asked by 31.03.2015 / 15:23
1
answer

What is Spring MVC?

I'm developing a java web project and I'm using the MVC (Model-view-controller), which is a pattern of software design and I know its function is to separate the representation of user interaction information with it. So my question is what w...
asked by 19.10.2015 / 22:30
2
answers

How to receive a List (Java) in Javascript using Spring MVC?

I have a web application where the Spring MVC framework is being used. I need to get a List in a Javascript function, but I do not know how best to do this without leaving the code confusing. The Process class has String and Integer attribute...
asked by 24.11.2015 / 20:45
1
answer

Multi Tenancy with Hibernate update schema

Hello, I'm using an application that uses multiple (multi-tenancy) databases using hibernate. I would like to know if anyone knows any way Hibernate can do the update in the schema of the banks. I have already set the hibernate.hbm2dll.auto: upd...
asked by 05.07.2016 / 22:38
1
answer

Spring MVC integration and ratchet

I'm developing a system for my university's university restaurant with Spring MVC.    I need to connect the system with a TopData brand ratchet, which controls customer access to the restaurant. As I have never faced such a problem, I would l...
asked by 26.06.2017 / 14:49
1
answer

Notes for controllers and services

In Spring 3 there are annotations of class @Component , @Service , @Controller and @Repository . I know that @Component is the only one that can be used in all cases ( Controller , Service and Repository )....
asked by 11.12.2013 / 17:23
2
answers

Project Maven + Spring MVC + JSP, how to share view files?

I'm trying to fit a file structure to get a big project, an ERP to be more accurate. Today, there is a good deal of it made in PHP in a messy way. Let's take Java Web (Maven + Spring MVC + JSP + Hibernate) to create the next modules and in the f...
asked by 03.07.2014 / 18:37