%@page contentType="text/html" import="nl.tue.win.riaca.monet.gcdws.client.*" %>
Monet GCD Demo Webclient
Calculate GCD of 2 numbers
<% /* * 1. Create the bean in the page. * 2. Get the object. */ GcdWebServiceBean bean = new GcdWebServiceBean(); int result = bean.gcd( Integer.valueOf( request.getParameter( "a" ) ).intValue(), Integer.valueOf( request.getParameter( "b" ) ).intValue() ); %>A | "> |
B | "> |
GCD |