Question: Download and open the project namedch05_ex3_futureValue. Open the Calculation class. Note that it follows all of the rules for defining a JavaBean. Open the index.jsp
Download and open the project namedch05_ex3_futureValue. Open the Calculation class. Note that it follows all of the rules for defining a JavaBean. Open the index.jsp file. Note that it uses EL to display a validation message as well as the values of a calculation. Open the servlet (FutureValueServlet.java). Note that it gets parameters, validates them, and stores them in the Calculation class. Open the web.xml file. Note that it maps the servlet to the /displayResult URL. Open the result.jsp file. Note that it displays the result of the calculation. Run the application and use it to perform one or more calculations. Note that the servlet is mapped to the /displayResult URL. Note also that it doesnt apply currency formatting to the future value amount. Upload a screenshot of your browser to this question Upload Open the servlet and modify it so it uses the @WebServlet annotation to map itself to the /calculate URL. Open the index.jsp file and modify it so it uses the /calculate URL. Upload the modified index.jsp file to this question. Open the result.jsp file and modify it so it applies currency formatting to the future value amount Open the Calculation class and add a method that applies currency formatting to the monthly investment amount. Modify the result.jsp file so it uses the currency formatting method you created in the previous question.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
