Struts 2 if tag usage: <s:if test="value == 1"> <div>Will Be Executed</div> </s:if> 这里value 为number类型.