, which is associated with a session inside jsp I have a user session that is stored as a proxy server

Get <aop: scoped-proxy / ">, which is associated with a session inside jsp

I have a user session that is stored as a proxy server <aop:scoped-proxy/>. how can i access it on jsp?

I assume the bean is stored somewhere in the session, correct me if I am wrong.

+3
source share
2 answers

I found the answer:

http://digitaljoel.nerd-herders.com/2010/11/01/accessing-spring-session-beans-in-jsp/

:

${sessionScope['scopedTarget.userSession'].firstName}

works like a charm

+6
source

. , beans ( beans ) , , JSP. , , , . , Spring , JSP.

0

Source: https://habr.com/ru/post/1787812/


All Articles