webflow editor /jsp polish

This commit is contained in:
Keith Donald
2007-04-01 16:26:58 +00:00
parent 77aeb8a1ef
commit ee909a861e
3 changed files with 34 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<webflow-project-description>
<configs>
<config>
<file>src/main/webapp/WEB-INF/fileupload.xml</file>
<name>fileupload</name>
</config>
</configs>
</webflow-project-description>

View File

@@ -1,4 +1,19 @@
<%@ include file="includeTop.jsp" %>
<%@ page contentType="text/html" %>
<%@ page session="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>Upload a File</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div id="logo">
<img src="images/spring-logo.jpg" alt="Logo">
</div>
<div id="content">
<div id="insert">
@@ -6,6 +21,7 @@
</div>
<h2>Select the file to upload</h2>
<hr>
<form name="submitForm" method="post" enctype="multipart/form-data">
<table>
<c:if test="${fileUploaded}">
<p>File uploaded succesfully.</p>
@@ -13,7 +29,6 @@
<pre style="border: solid 1px;">${file}</pre>
</c:if>
</c:if>
<form name="submitForm" method="post" enctype="multipart/form-data">
<tr>
<td>
File:
@@ -31,8 +46,13 @@
<input type="submit" class="button" name="_eventId_submit" value="Upload">
</td>
</tr>
</form>
</table>
</form>
</div>
<%@ include file="includeBottom.jsp" %>
<div id="copyright">
<p>&copy; Copyright 2004-2007, <a href="http://www.springframework.org">www.springframework.org</a>, under the terms of the Apache 2.0 software license.</p>
</div>
</body>
</html>

View File

@@ -4,7 +4,7 @@
<html>
<head>
<title>HigherLower - Enter Guess</title>
<title>Sample B Flow</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
</head>