<%@page contentType="text/html" import="nl.tue.win.riaca.ws.gcd.client.*" %> GCD Web Service: Calculate GCD of 2 numbers

GCD Web Service


Calculate GCD of 2 numbers

<% /* * 1. Create the bean in the page. * 2. Get the object. */ GcdWebServiceBean bean = new GcdWebServiceBean(); String result = bean.gcdStringOM( request.getParameter( "a" ), request.getParameter( "b" ) ); %>
A ">
B ">
GCD

Try it again!


Up