diff options
Diffstat (limited to 'Year_3/TSDWL/WSDL/CountryClient/build/web/list.jsp')
-rw-r--r-- | Year_3/TSDWL/WSDL/CountryClient/build/web/list.jsp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Year_3/TSDWL/WSDL/CountryClient/build/web/list.jsp b/Year_3/TSDWL/WSDL/CountryClient/build/web/list.jsp new file mode 100644 index 0000000..e3406b4 --- /dev/null +++ b/Year_3/TSDWL/WSDL/CountryClient/build/web/list.jsp @@ -0,0 +1,24 @@ +<%-- + Document : list + Created on : Jan 19, 2022, 9:57:20 PM + Author : dcariotti +--%> + +<%@page import="org.oorsprong.websamples.TCountryCodeAndName"%> +<%@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>Countries list</title> + </head> + <body> + <h1>Countries list</h1> + <% List<TCountryCodeAndName> languages = (List<TCountryCodeAndName>) request.getAttribute("countries"); %> + <% for (TCountryCodeAndName language : languages) { %> + <p><%= language.getSName()%> <a href="/CountryClient/SearchCapital?iso=<%= language.getSISOCode() %>">Search capital</a></p> + <% } %> + + </body> +</html> |