2008-01-27 if タグのネスト Struts2 JSP if tag Struts2の s:if タグはネストすることが出来る if ( test1 ) { if ( test2 ) { a } else { b } } else { c } このような条件は <s:if test="test1"> <s:if test="test2"> a </s:if> <s:else> b </s:else> </s:if> <s:else> c </s:else> そのままこう書けばOK