Example of using cookies on a web project developed with Java and Spring