<!-- Copyright (c) 1999 by BEA Systems, Inc. All Rights Reserved.-->
<!-- This JavaServer Page purposefully throws a NullPointerException
that demonstrates using a JSP error page. (ErrorPage.jsp)
ErrorPage.jsp must be installed in your WebLogic document root -->
<%@ page
errorPage="ErrorPage.jsp"
import="java.util.Vector"
%>
<html>
<head></head>
<%! Vector vec = null; %>
<body bgcolor=#ffffff>
<h2> Let's call a method on a null Vector...</h2>
Vector has <%= vec.size() %> elements.
</body>
</html>