网上有很多解释,但是跟我这里的情况都不同,最后排查发现,下图的script标签写错了
<script language="javascript" src="<%=request.getContextPath()%>/common/js/validation.js"/>
<script language="javascript" src="<%=request.getContextPath()%>/common/js/jquery-1.8.3.min.js"/>
<script language="javascript" src="<%=request.getContextPath()%>/common/js/jquery.blockUI.js"/>
改成这种对称标签格式就对了
<script language="javascript" src="<%=request.getContextPath()%>/common/js/validation.js"></script>
<script language="javascript" src="<%=request.getContextPath()%>/common/js/jquery-1.8.3.min.js"></script>
<script language="javascript" src="<%=request.getContextPath()%>/common/js/jquery.blockUI.js"></script>