summaryrefslogtreecommitdiff
path: root/Year_3/TSDWL/WSDL/BankClient/web/index.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'Year_3/TSDWL/WSDL/BankClient/web/index.jsp')
-rw-r--r--Year_3/TSDWL/WSDL/BankClient/web/index.jsp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Year_3/TSDWL/WSDL/BankClient/web/index.jsp b/Year_3/TSDWL/WSDL/BankClient/web/index.jsp
new file mode 100644
index 0000000..33763d4
--- /dev/null
+++ b/Year_3/TSDWL/WSDL/BankClient/web/index.jsp
@@ -0,0 +1,30 @@
+<%--
+ Document : index
+ Created on : Jan 20, 2022, 10:23:24 AM
+ Author : dcariotti
+--%>
+
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>Bank operations</title>
+ </head>
+ <body>
+ <% double amount = (double) request.getAttribute("amount"); %>
+ <h1>Your deposit is: <%= amount %></h1>
+ <h1>Operations: </h1>
+ <form method="post">
+ <div>
+ <label>Deposit money: </label>
+ <input type="number" name="deposit">
+ </div>
+ <div>
+ <label>Get money: </label>
+ <input type="number" name="get">
+ </div>
+ <button type="submit">Go</button>
+ </form>
+ </body>
+</html>