struts2笔记之if控制标签 1、判断action中的boolean对象: <s:if test="forjson.toString()=='true'"> 来自json </s:if> Done!