The actual jsp code that calculates the celsius temperature

 

<html>

  <head>

    <title>Temperature Conversion</title>

  </head>

 

  <body>

    <h1>Temperature Conversion</h1>

    <p><%=request.getParameter("fahr") %> is

       <%= (Double.parseDouble(request.getParameter("fahr")) - 32) * 5 / 9 %>

       degrees celsius.

</html>