Format
This commit is contained in:
parent
b94c33b2bb
commit
2fc22b5f9d
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue