Question
Download, unzip and open the project named ch09_ex3_futureValue. Open the FutureValueServlet class. Note that the code in the doPost method has been modified to create
Download, unzip and open the project named ch09_ex3_futureValue.
Open the FutureValueServlet class. Note that the code in the doPost method has been modified to create a list of calculation objects, one for each year starting at one and going up to the number of years entered by the user. Also, note that it stores an attribute named calculations in the request.
Link to ZIP: https://drive.google.com/file/d/0B5HjVVkWJYBId184VW1zTmtJYnc/view
Question One :
Open the index.jsp file. Then, modify it so it uses the JSTL choose tags instead of JSTL if tags.
Upload the modified version of your index.jsp to this question.
Question Two:
Open the result.jsp file. Then, modify it so it presents a table that displays the value of the investment for each year up to the year the user entered. To do this, you can use a JSTL forEach tag. When youre done, the user interface should look something like this:
Upload a screenshot of your web browser to this question.
Question Three:
Note that the Investment Amount, Yearly Interest Rate, and Number of Years fields are no longer working correctly. This is because the application stores multiple calculations instead of a single calculation.
Fix the application so the response (result.jsp) displays the Investment Amount, Yearly Interest Rate, and Number of Years fields again. There are several ways to do this. Choose the way that you think works best.
Upload the modified result.jsp file to this question.
Future Value Calculator Investment Amount Yearly Interest Rate: Number of Years: Future Value: Year Value $1,250.42 $1,286.84 $1,323.26 4 Return to Calculator $1,359.68 O 2014, Mike Murach and Associates Future Value Calculator Investment Amount Yearly Interest Rate: Number of Years: Future Value: Year Value $1,250.42 $1,286.84 $1,323.26 4 Return to Calculator $1,359.68 O 2014, Mike Murach and AssociatesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started