<Select name = "deflossthirdparty. ciindemduty "id =" deflossthirdparty. ciindemduty "class =" selectui-input w_15 selectui-required DC-chk "style =" display: none "> <option value ="-99 "> -- select -- </option> <C: foreach items = "$ {ciindemdutymap}" Var = "entry" varstatus = "status"> <option value = "$ {entry. key} "$ {(entry. key EQ thirdpartyciindemduty) or (empty thirdpartyciindemduty and entry. key EQ '0 ')? 'Selected': ''}>$ {entry. Value} </option> </C: foreach> </SELECT>
The above directly pieces together the El expression, and then the running effect is also acceptable.
<Input type = "button" onclick = "Sm3 (); onblur (this ); "Name =" submitbutton "class =" button_ty "value =" Submit "$ {(not empty checknodeout and checknodeout )? '': 'Disabled '}>
OK, directly splice the El expression above, and then the running effect is also acceptable.
Use jstl labels in JSP.
<TD class = "bgc_tt short" id = "businaturenotd1" <C: If test = "$ {checkshift. carshifttype EQ '06'} "> style =" display: inline "</C: If> <C: If test =" $ {checkshift. carshifttype ne '06'} "> style =" display: none "</C: If> business source </TD>
Business Source
</TD>
Jstl can be embedded, but El representation cannot be embedded. I tried this.
To be honest, the El expression is just a simple test. No more. After jstl is found to be acceptable, the. El method is simpler and can be tested.