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中做这样的事情(使用spring和struts):
<security:authorize ifAllGranted="ACCESS_<s:property value='%{#attr.currentQueue}'/>">
遗憾的是,它似乎不起作用,因为我现在看不到我应该看到的内容。但是,也没有错误。
知道它是否应该工作吗?方法不对吗?
使用另一个 Struts OGNL 解决了这个问题: ${currentQueue} 而不是使用属性标签。这使 :
<security:authorize ifAllGranted="ACCESS_${currentQueue}">
我无法在我的 jsp 页面中填充我的 Struts2 选择下拉列表。 注意:我的 jsp 页面通过 json 响应加载。 我在表单中有一个选择框。但是我不知道当我的jsp页面加载时如何填充它。
在同一页面中,我的 Struts2 jquery 网格中有一个选择下拉列表,我可以填充该下拉列表,但