Y
Y
Yuri2017-01-18 11:38:02
JavaScript
Yuri, 2017-01-18 11:38:02

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

1 answer(s)
V
Vorh, 2017-01-18
@Vorh

Google for you : Spring Security form login using database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question