0

Struts2 中的调试标签不断收到此错误。有什么想法可能导致这种情况吗?

FreeMarker template error!

Expression stackObject.value.get(propertyName).toString() is undefined on line 58, column 122 in template/simple/debug.ftl.
The problematic instruction:
----------
==> ${stackObject.value.get(propertyName).toString()?html} [on line 58, column 120 in template/simple/debug.ftl]
 in include "/${parameters.templateDir}/simple/debug.ftl" [on line 23, column 1 in template/xhtml/debug.ftl]
----------
4

1 回答 1

0

没关系。值堆栈有一个对象,该对象具有重写的 toString 方法,该方法返回 null。

于 2010-09-02T10:31:16.283 回答