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/tagSamples/netui/textArea/
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 index.jsp
09 </title>
10 </head>
11 <body>
12
13 <jsp:include page="/resources/jsp/header.jsp"/>
14 <h3>TextArea Tag Sample</h3>
15 <p>Enter text for processing.
16 <netui:form action="processText">
17 <netui:textArea dataSource="{actionForm.text}" cols="25" rows="7"/>
18 <netui:button value="Submit" type="submit"/>
19 </netui:form>
20
21 </body>
22
23 <hr>
24 <netui:anchor href="/WebApp/tagSamples/tagSamplesController.jpf">Return to Tag Samples</netui:anchor>
25 </netui:html>
|