It has a Java project in Spring Boot that connects to the database. Consequently I have an application.yml properties file with the database connection configuration.
The configuration of database is as below with the user and passwor...
I am making a request in ajax but the result of it does not update, it is as if it were in some kind of cookie.
function AtualizaTotalItensNota(idFornec) {
$.ajax({
type: "GET",
dataType: "text",
url: "/sist...
I'm trying to internationalize templat, using
Thymeleaf 3.0
Spring 4.2.3
JSF 2.2
What is sent next to an email.
#{i18N.descriptionPortal}
When you print in the email html it looks like this
??i18N.descriptionPortal_pt_BR??
o...
I'm having some problems with JSON in my application and wanted to see if you guys can help me, please.
The situation is as follows:
I have a method in my controller that looks for some items:
@RequestMapping(value = "/buscaTodosCardapio...
How to send an object through redirect between requests?
I performed tests trying to send the object through the model, but without success.
Follow the code:
@RequestMapping("removeResultado")
public String remove(RequestParam(value...
I'm studying Spring Framework with Maven, in the insert dependencies part I'm having a bit of trouble trying to insert angular.js into the html page, in the pom.xml file, the angularjs dependency looks like this:
<dependency>
<...
Hello
I'm creating a simple web application with SpringMVC and Spring Security. I made the User and Roles class as follows:
@Entity
public class Usuario implements UserDetails {
private static final long serialVersionUID = 1L;
@Id
pr...
I am developing a reasonably simple yet fairly distributed system that involves including use of EJBs and other agents, which requires both Authentication and Authorization.
The system will be composed initially by Spring + Hibernate + JSF +...
Very good night to everyone!
Well, I have a table in which there is a checkbox component. This component has the task of enabling and disabling a target on my website. The figure below shows a table row with that element:
Hereisthehtmlcode,...
I have the following hibernate.cfg.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuratio...