diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-01-19 21:15:10 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-01-19 21:15:10 +0100 |
commit | 79fbf3f9cc2bf2d8b9aa3c96c3d9fe7bee7577d6 (patch) | |
tree | 830afb50770bab808d1c78f04a51b3b80c846651 /Year_3/TSDWL/WSDL/FootballClient/web/list.jsp | |
parent | 6f0592cb2b753fb47297464a3fa1a312620da3ba (diff) |
tdwl: example of remote wsdl
Diffstat (limited to 'Year_3/TSDWL/WSDL/FootballClient/web/list.jsp')
-rw-r--r-- | Year_3/TSDWL/WSDL/FootballClient/web/list.jsp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Year_3/TSDWL/WSDL/FootballClient/web/list.jsp b/Year_3/TSDWL/WSDL/FootballClient/web/list.jsp new file mode 100644 index 0000000..fba56fa --- /dev/null +++ b/Year_3/TSDWL/WSDL/FootballClient/web/list.jsp @@ -0,0 +1,24 @@ +<%-- + Document : list + Created on : Jan 19, 2022, 8:53:23 PM + Author : dcariotti +--%> + +<%@page import="https.footballpool_dataaccess.ArrayOftStadiumInfo"%> +<%@page import="https.footballpool_dataaccess.TStadiumInfo"%> +<%@page import="java.util.List"%> +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Stadium list</title> + </head> + <body> + <h1>Stadium list</h1> + <% List<TStadiumInfo> stadiums = (List<TStadiumInfo>) request.getAttribute("stadiumList"); %> + <% for (TStadiumInfo stadium : stadiums) { %> + <p><%= stadium.getSName() %></p> + <% } %> + </body> +</html> |