Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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.

image text in transcribed

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 Associates

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

Write a Python program to check an input number is prime or not.

Answered: 1 week ago

Question

Write a program to check an input year is leap or not.

Answered: 1 week ago