<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

link to /system/modules/com.alkacon.documentation/elements/showsource.jsp

OpenCms logo - Forward >>

Source code for: /alkacon-documentation/examples_flex_2/errorpage_test.jsp


<%@ page errorPage="errorpage.jsp" autoFlush="false" buffer="12kb" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>

<html>
<body>

<h1>Lets produce a nice error...</h1>

<%
	if (request != null) {
		throw new Exception("Hi, I am an exception!"); 
	}
%>

</body>
</html>

©2005 Alkacon Software GmbH (http://www.alkacon.com) - The OpenCms experts