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

View File

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