aboutsummaryrefslogtreecommitdiff
path: root/id.oa/html/form.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'id.oa/html/form.jsp')
-rw-r--r--id.oa/html/form.jsp20
1 files changed, 20 insertions, 0 deletions
diff --git a/id.oa/html/form.jsp b/id.oa/html/form.jsp
new file mode 100644
index 000000000..d439fa84d
--- /dev/null
+++ b/id.oa/html/form.jsp
@@ -0,0 +1,20 @@
+<%@ page import="java.util.*" %>
+<html>
+<head>
+<title>Sample Online Application</title>
+</head>
+<body>
+<h1>Sample Form</h1>
+<p>
+<form action="form.jsp">
+<% String param1 = request.getParameter("param1");
+ if (param1 == null) param1 = ""; %>
+Input some text:
+<input type="text" name="param1" size="10"/>
+<br>Previous text input: <%=param1%><br>
+<input type="submit" value="Send"/>
+</form>
+</p>
+<p><a href="index.jsp">Back</a></p>
+</body>
+</html> \ No newline at end of file