Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のjspでこのようなことをしたいと思います(スプリングとストラットを使用):
<security:authorize ifAllGranted="ACCESS_<s:property value='%{#attr.currentQueue}'/>">
残念ながら、今見るべきコンテンツが見えないのでうまくいかないようです。ただし、エラーもありません。
それが機能するかどうかについて何か考えはありますか?方法は間違っていますか?
プロパティタグを使用する代わりに、別のStruts OGNL:${currentQueue}を使用して問題を解決しました。これは:
<security:authorize ifAllGranted="ACCESS_${currentQueue}">