This commit is contained in:
Shubham Aggarwal 2016-11-29 14:36:16 +05:30
parent b94c33b2bb
commit 2fc22b5f9d
1 changed files with 0 additions and 1 deletions

View File

@ -22,7 +22,6 @@ public class FormServlet extends HttpServlet {
double bmi = calculateBMI(Double.parseDouble(weight), Double.parseDouble(height)); double bmi = calculateBMI(Double.parseDouble(weight), Double.parseDouble(height));
request.setAttribute("bmi", bmi); request.setAttribute("bmi", bmi);
response.setHeader("Test", "Success"); response.setHeader("Test", "Success");
response.setHeader("BMI", String.valueOf(bmi)); response.setHeader("BMI", String.valueOf(bmi));