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...
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...
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...
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...
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...
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...
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...
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...
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 )....
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...