access spring aop managed bean in jsp – Spring

How do I access access spring aop managed bean in jsp EL expression.
spring stores the aop managed bean (<aop:scoped-proxy/>) with the key “scopedTarget.beanName”.
If I try to access the bean using EL expression like ${scopedTarget.userDataBean.firstName} it doesn’t work as it treats scopedTraget as another bean.

Is it like we can escape the dot or is there any other way to access

I haven’t tried it myself, but I’m assuming it would be something like this:

Code:
${sessionScope.myVariable}

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image