In the jsp page, on the basis of class=test, if judges that there is no problem. Adding the attributes of active dynamically can not achieve the effect of both classes. Why?

clipboard.png

clipboard.png

Mar.28,2021

try

<div class="test<c:if test=""> active</c:if>">
    ...
</div>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e551d1-44a93.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e551d1-44a93.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?