【发布时间】:2014-04-09 22:49:33
【问题描述】:
我的 Struts 2 应用程序有问题。
我读取了数组迭代器的内容。
数组元素由迭代器写出:
<s:text name="#wApps.title"/>
标记找到正确的元素并对其求值,但结果表达式有一个+ 字符(例如:数组元素的值:"Weather+ Free"'),它会继续求值。最后,它写出值:nullnull。
如何跳过第二次评估?
这是日志:
Jun 18, 2013 5:29:40 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: The first TextProvider in the ValueStack (rs.plusnet.android.market.AndroidMarket.UI.ListCategory) could not locate the message resource with key '**Weather+ Free**'
Jun 18, 2013 5:29:40 AM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: The default value expression 'Weather+ Free' evaluated to '**nullnull**'
【问题讨论】:
标签: java jsp struts2 ognl valuestack