Struts2中的ValueStack

ognl表达式:%{},必须要放在<s>标签中

user = findValue("user") 找完值栈,再找map

#user = map.get("user")

#user.name = map.get("user").getName()

<s:iterator>将循环到的对象在值栈中置顶

el表达式查找范围顺序:

page、request、valueStack.findValue()、session、application

          (值栈中找)

原文地址:https://www.cnblogs.com/jingyunyb/p/3648276.html