判断参数是否同时为空

时间:2024-08-03 09:35:08

<c:if test="${empty str}">  str为空</c:if>

<c:if test="${not empty str}">  str不为空</c:if>

例子:

<c:if test="${empty  Itirann_wakazuFlg && empty  Itirann_syoukaiFlg }">
<tr align="center" height="20" bgcolor="#FFB56A">
<td width="100">名前</td>
<td width="40">年代</td>
<td width="40">性別</td>
<td width="120">直近</td>
<td width="110">仕事経験</td>
<td>労働条件通知書</td>
</tr>
</c:if>