ShowFile.jsp Sample
This topic inludes the source code for the ShowFile.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/fileUpload/
Sample Source Code
01 <!--Generated by WebLogic Workshop-->
02 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
03 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
04 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
05 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
06 <netui:html>
07 <head>
08 <title>
09 showFile.jsp
10 </title>
11 </head>
12 <body>
13 <jsp:include page="/resources/jsp/header.jsp"/>
14 <blockquote>
15 <netui:anchor action="backToBrowsePage">Upload Another File</netui:anchor>
16 <p>
17 <table border="1">
18 <tr>
19 <td style="background-color:#ffcccc;">
20 <strong>File Name: </strong>
21 <netui:label value="{pageFlow.strFileName}"/>
22 </td>
23 </tr>
24 <tr>
25 <td style="background-color:#ffffcc;">
26 <strong>File Content in String form:</strong><br>
27 <netui:label value="{pageFlow.strFile}"/>
28 </td>
29 </tr>
30 </table>
31 </p>
32 </blockquote>
33 </body>
34 </netui:html>
|