C: set tag to set non-primitive value
How can spring security tag be used <sec:authentication property="principal.id" />
as tag value <c:set…>
?
These statements:
<c:set var="userId" value="<sec:authentication property='principal.id' />"/>
<c:set var="userId" value="<sec:authentication property=\"principal.id\" />"/>
will not work.
a source to share