summaryrefslogtreecommitdiff
path: root/Year_3/TSDWL/WSDL/BankClient/web/index.jsp
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-01-20 10:43:22 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-01-20 10:43:22 +0100
commit0a58e131ce0d96ecd60c4daf2c41821a625d689b (patch)
treed67ed3c4662fa7cc83e397b2977a603396d22df6 /Year_3/TSDWL/WSDL/BankClient/web/index.jsp
parentd62cdeb376fb5f0749ce637723a6cb305485aad8 (diff)
wsdl: add examples
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>