<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <% String a = request.getParameter("a"); String b = request.getParameter("b"); if( a == null || a.trim().length() == 0 || b == null || b.trim().length() == 0 ) { response.sendRedirect( "AddForm.html" ); return; } %> Insert title here The sum of <%= a %> and <%= b %> is <%= Integer.parseInt(a) + Integer.parseInt(b) %>.