# GlobalApp.jsp Sample

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

## Sample Location

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

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/handlingData/databinding/globalApp/

## 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 <title> 07 globalApp.jsp 08 </title> 09 <link href="/WebApp/resources/css/style.css" type="text/css" rel="stylesheet"/> 10 </head> 11 <body> 12 <jsp:include page="/resources/jsp/header.jsp"/> 13 <h3>Databinding Samples: {globalApp...} Context</h3> 14 <p>This sample uses the {globalApp...} data binding context to read from the global Page Flow 15 WEB-INF/src/global/Global.app. 16 <p>Use global Page Flow to (1) store properties used across all Page Flows in the application and 17 (2) provide universal error handling for all Page Flows. 18 <blockquote> 19 20 <%-- 21 Read the globalParam property from the global Page Flow WEB-INF/src/global/Global.app 22 --%> 23 <p> 24 <netui:label value="{globalApp.globalParam}" style="color:#ff3300;" /> 25 </p> 26 27 </blockquote> 28 <hr> 29 <p><netui:anchor href="/WebApp/handlingData/databinding/databindingController.jpf"> 30 Back to Databinding Samples</netui:anchor> 31 </body> 32 </netui:html>`