# Error.jsp Sample

This topic inludes the source code for the Error.jsp Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui/exceptions/

## Sample Source Code

`01 <%@ page language="java" contentType="text/html;charset=UTF-8"%> 02 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%> 03 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%> 04 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%> 05 <netui:html> 06 <head> 07 <title> 08 error.jsp 09 </title> 10 </head> 11 <body> 12 <jsp:include page="/resources/jsp/header.jsp"/> 13 <blockquote> 14 <h3>The error on this page has been intentionally thrown to demonstrate the &lt;netui:exceptions> 15 tag.</h3> 16 <p><netui:anchor href="/WebApp/tagSamples/tagSamplesController.jpf">Return to Tag Samples</netui:anchor> 17 <p><b>You have reached this page because a NotLoggedInException has been thrown:</b> 18 <p><netui:exceptions showMessage="true" showStackTrace="true"/></p> 19 </blockquote> 20 </body> 21 </netui:html>`