Answer the question
In order to leave comments, you need to log in
How to organize the transfer of data from the server (java) to the view?
Hello. I am writing my first more or less complete website, as I would like, in java. After creating the authorization, I ran into this problem: how to pass user data to the JSP page and vice versa? On bourgeois sites with samples of Spring Security, I found an example with a library like JSTL. Somehow it turned out to make an entrance / exit, registration, checking whether the user is logged in or not, and some other little things. But I have not yet figured out how to transfer user data, both logged in and not logged in. Also, how to transfer data directly from the database (MySQL) to JSP is still a mystery. I would be grateful for any good advice. Oh yeah, here is the link to the repository: https://github.com/YuriyKlepka/website?files=1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question