<div class="tou_tu"><img src="http://rlzy.jxxxxxsd.com.cn/SYEHR_WEB/public.do?method=getEmpsssePhoto&employeeID=<%=refffame %>" onerror="this.src='${pageContext.request.contextPath}/images/mydocument/touxiang.jpg';" width="100" height="102" /></div>
使用onerror属性