有没有办法转换窗体的jsp代码
到另一种形式,类似于以下(不起作用)?
更确切地说,有没有办法用JSTL标签替换这个Spring Security taglib功能?
最佳答案
您可以使用< security:authorize />的var属性.标签将创建:
A page scoped variable into which the boolean result of the tag
evaluation will be written,allowing the same condition to be reused
subsequently in the page without re-evaluation.