1.背景
在当前valueStack中,有一个名字为categorys的List<Category>,有一个名字为task的对象,它有TaskID这个成员2.代码
<s:select list="categorys" listKey="AutoID" listValue="CategoryName" headerKey="-1" headerValue="<s:property value="task.TaskID"/>"></s:select>3.需求
我想在select 列表中top位置上显示task对象的TaskID出来4.问题
Tomcat控制台抛出异常:
Struts Problem Report
Struts has detected an unhandled exception: Messages: /admin/task/updateInput.jsp(66,0) According to TLD or attribute directive in tag file, attribute headerValue does not accept any expressions  5.
请高手指教,小生感谢了!