E
E
Eugenue Cesarevich2021-02-12 17:57:43
JavaScript
Eugenue Cesarevich, 2021-02-12 17:57:43

How to work with localeStorage in Spring application?

So I made a Spring application, and there is a controller in it. How can I work with the user's localeStorage in this controller? Maybe Spring has some tools? Or is it possible to work with this object only with the help of JS?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2021-02-12
@cot_shaurma

Good afternoon!
localStorage is a storage on the client side and, accordingly, has nothing to do with the backend.
You can only use js to send data saved to ls or get data from the back-end and save to ls using js

D
Dr. Bacon, 2021-02-12
@bacon

localeStorage is data on the client, interaction is only through js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question