Posts by hjunior96 • 3 points
3 posts
-
0
votes1
answer33
viewsA: Spring session attribute is not shown in JSP via JSTL
Ok, since my application was using the Spring configuration via java and not XML, I needed to put a line in the Viewresolver configuration: @Bean public InternalResourceViewResolver…
-
0
votes1
answer33
viewsQ: Spring session attribute is not shown in JSP via JSTL
I have a Credential class that I use to store session user information (it’s annotated with @Sessionscope and @Component). When I print some attribute of this class, it usually appears, but if I try…
-
0
votes2
answers77
viewsQ: Receive property from a spring form annotated with @Sessionscope
I have a Spring form to login to the system. This login must be kept in session, so I noted the classe Credencial (equivalent to login) with @SessionScope. I receive the data of this credential from…