Index.jsp Sample

This topic inludes the source code for the Index.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/url/

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             url.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: {url...Context</h3>
14         <blockquote>
15 
16             <p>The link below writes a parameter/value pair to the 
17             URL.  
18             <p>The linked-to page reads the parameter/value pair
19             from the URL.
20             <p><netui:anchor action="toPage2">
21                 <netui:parameter value="urlValue" name="urlParam" />
22                 To Page 2
23             </netui:anchor>
24 
25         </blockquote>
26         <hr>
27         <p><netui:anchor href="/WebApp/handlingData/databinding/databindingController.jpf">
28         Back to Databinding Samples</netui:anchor>
29     </body>
30 </netui:html>