Palun sisesta kaks arvu:
" /> x
<% if(request.getParameter("arv1")!=null){ try{ int a1=Integer.parseInt(request.getParameter("arv1")); int a2=Integer.parseInt(request.getParameter("arv2")); out.println(a1*a2); } catch (Exception e){ out.println("Sisendi viga: "+e.getMessage()); } } else { out.println("Palun sisesta arvud"); } %>