org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 57 in the jsp file: /pfee/fee.jsp otherPrice cannot be resolved to a variable 54: 55: orderPrice = Double.parseDouble(request.getParameter("orderPrice")==null?"":request.getParameter("orderPrice").trim()); 56: 57: otherPrice = Double.parseDouble(request.getParameter("otherPrice")==null?"":request.getParameter("otherPrice").trim()); 58: 59: paperPrice = Double.parseDouble(request.getParameter("paperPrice")==null?"":request.getParameter("paperPrice").trim()); 60: } Stacktrace: