When making a request to delete a user the following error is returned:
{
"timestamp": 1500142937327,
"status": 405,
"error": "Method Not Allowed",
"exception": "org.springframework.web.HttpRequestMethodNotSupportedException",...
I am documenting an API with Swagger. I am not using annotations and the documentation is written to a JSON file.
The problem is that API is constantly changing and every change you need to compare the file with the Java source code.
I wou...
I need help, to display a message through fmt: message.
The situation is as follows. I have a form that is submitted via $ .post. In the controller that receives this request, I perform a validation through the BindingResult.
If I get an e...
How can I make it into a controller to receive data via Post (in Spring MVC) and save this data to a TXT?
Later, in the Model open this TXT and send to View.
Would anyone have an example?
I need to create an interface that extends the JpaRepository where I want to pass a native (select) query per parameter instead of leaving static within the @Query annotation.
Instead of using @Query(value = "select * from a where a =...
I have a jsp page with the following code that uses google charts and shows the graphs on the jsp page. When I use a servlet as a controller it works perfectly.
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>...
Hello.
I need help.
I'm configuring Spring Security in a JSF 2.2 Project. Using Annotation.
I've already set up the filters.
But I do not understand how to configure the ManagedBean of the login to search the database and log in to JSF.
Below is...
I'm getting this exception when I log in
ERROR [org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter] (default task-10) An internal error occurred while trying to authenticate the user.: org.springframework.se...
When you save a form, that is, it goes to the Spring control class,
I need it to throw an exception, to warn the user that some field is required.
In JSP it looks like this:
<c:if test="${not empty param.e}">
<div...