web.xml没有配置taglib,在\WEB-INF\lib下放了jstl-1.2.jar和standard-1.1.2.jar
jsp源码:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>Core_catch.jsp</title>
</head>
<body>
<h2><c:out value="<c:catch> 的用法" /></h2>
<c:catch var="error_Message">
<%
   String eFormat = "not number"; 
    int i = Integer.parseInt(eFormat);
%>
</c:catch>
   $ { error_Message }
</body>
</html>生成的网页源码:
<html> 
<head> 
<title>Core_catch.jsp</title> 
</head> 
<body> 
<h2>&lt;c:catch&gt; 的用法</h2> 
 
 
   $ { error_Message }
</body> 
</html>