Home > Article > Web Front-end > JSP comments may affect the page loading speed and allow the code to continue executing.
Use the "19791207a4e0a22c816ac020ecd8cae0" comment on the jsp page. The java code in the comment will still be executed. You can check the page source code to see the completed content. This will prevent The code you want to execute is executed, affecting loading speed. For example, the following code:
性别:<select name="qureyItemGroup.sex" class="selinp" style="width:75px;"> <option value="">全部</option> <s:iterator value="listDictSex"> <option <s:property value="@com.hljw.util.UtilAPI@getHtmlSelected(dict_value,qureyItemGroup.sex)"/> value="<s:property value="dict_value"/>"><s:property value="dict_name"/></option> </s:iterator> </select>
It is recommended to use comments such as "79fcd5a581faadb444e94e2da9194a42" on jsp pages, and such comments are not visible when viewing the source code on the page.
More jsp comments may affect the page loading speed and allow the code to continue executing. Please pay attention to the PHP Chinese website for related articles!