# GlobalAppController.jpf Sample

This topic inludes the source code for the GlobalAppController.jpf 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 package handlingData.databinding.globalApp; 02 import com.bea.wlw.netui.pageflow.Forward; 03 import com.bea.wlw.netui.pageflow.PageFlowController; 04 05 /** 06 * @jpf:controller 07 * @jpf:view-properties view-properties:: 08 * <!-- This data is auto-generated. Hand-editing this section is not recommended. --> 09 * <view-properties> 10 * <pageflow-object id="pageflow:/handlingData/databinding/globalApp/globalAppController.jpf"/> 11 * <pageflow-object id="action:begin.do"> 12 * <property value="80" name="x"/> 13 * <property value="100" name="y"/> 14 * </pageflow-object> 15 * <pageflow-object id="page:globalApp.jsp"> 16 * <property value="60" name="x"/> 17 * <property value="40" name="y"/> 18 * </pageflow-object> 19 * <pageflow-object id="forward:path#success#globalApp.jsp#@action:begin.do@"> 20 * <property value="44,21,21,60" name="elbowsX"/> 21 * <property value="92,92,-4,-4" name="elbowsY"/> 22 * <property value="West_1" name="fromPort"/> 23 * <property value="North_1" name="toPort"/> 24 * <property value="success" name="label"/> 25 * </pageflow-object> 26 * </view-properties> 27 * :: 28 */ 29 public class globalAppController extends PageFlowController 30 { 31 /** 32 * @jpf:action 33 * @jpf:forward name="success" path="globalApp.jsp" 34 */ 35 protected Forward begin() 36 { 37 return new Forward("success"); 38 } 39 }`