What's a possible way to use Spring Security tag <sec:authentication property="principal.id" />
as the value for the <c:set…>
tag?
These statements:
<c:set var="userId" value="<sec:authentication property='principal.id' />"/>
<c:set var="userId" value="<sec:authentication property=\"principal.id\" />"/>
won't work.