Formatting
This commit is contained in:
parent
78e9357e5e
commit
f898f69d0b
|
@ -20,6 +20,7 @@ public class FormServlet extends HttpServlet {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
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");
|
||||||
|
|
Loading…
Reference in New Issue