summaryrefslogtreecommitdiff
path: root/Year_3/TSDWL/WSDL/BankClient/web/index.jsp
blob: 33763d4184a0c478ecb1622ca212370f7adebc95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>