JSp 报错unreacheable code

<body>
<%

try{
throw new RuntimeException("just throw");
}catch(Exception e){
	throw e;
}
%>
</body>

===============


Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 31 in the jsp file: /index.jsp
Unreachable code
28: }catch(Exception e){
29: 	throw e;
30: }
31: %>
32: </body>
33: </html> 
34: 

猜你喜欢

转载自curious.iteye.com/blog/2296182