Display the properties of an arraylist object

Assignment Help JAVA Programming
Reference no: EM131590987

Language is JSP: Using JSP foreach tag, display the properties of an ArrayList object. The assignment is documented as attached. In 9-3.docx, #4-6 is what I am trying to complete.

I am having difficulty printing the values for each year. My attempts have just printed the object address, instead of the actual dollar amount.

1. Download, unzip and open the project named ch09_ex3_futureValue.

2. Open the FutureValueServlet class. Note that the code in the doPost method has beenmodified to create a list of calculation objects, one for each year starting at one and goingup to the number of years entered by the user. Also, note that it stores an attribute namedcalculations in the request.

Modify the code

3. Open the index.jsp file. Then, modify it so it uses the JSTL choose tags instead of JSTLif tags.

4. Open the result.jsp file. Then, modify it so it presents a table that displays the value ofthe investment for each year up to the year the user entered. To do this, you can use aJSTL forEach tag. When you're done, the user interface should look something like this:

102_Figure.jpg

5. Note that the Investment Amount, Yearly Interest Rate, and Number of Years fields are nolonger working correctly. This is because the application stores multiple calculationsinstead of a single calculation.

6. Fix the application so the second page displays the Investment Amount, Yearly InterestRate, and Number of Years fields again. There are several ways to do this. Choose theway that you think works best.

Attachment:- futureValue.rar

Reference no: EM131590987

Questions Cloud

Discuss the federal government''s involvement in drug : Discuss the federal government's involvement in drug control policy during the progressive era. What legislation was passed to address drugs
Explain scriptural authority and theological interpretation : What aspects of the relationship of theology and psychology can you affirm in this model, and what do you think is in need of critique?
Estimate the length of time of the management plan : You have recently started your own software design company. You discover that your local DMV is looking to build a system that will allow receptionists.
Cost of addressing women health : Suggest at least three (3) financial management techniques that may be used to deal with the cost of addressing women's health.
Display the properties of an arraylist object : Display the properties of an ArrayList object. The assignment is documented as attached. In 9-3.docx, #4-6 is what I am trying to complete
Describe the buoyancy starting at the very tip : Describe the buoyancy starting at the very tip of the flames rolling from the window. Is the smoke laminar or turbulent, Why, or why not
Explain the roles of emotion and fairness in decision making : Explain the roles of emotion and fairness in decision making.Apply the standard of APA style to all research and writing tasks.
Briefly analyze and define who the client is in the case : Briefly analyze and define who the client is in this case study. Assess your professional role as the I/O psychologist and your responsibility to the client.
Advantages and disadvantages of cloud computing : You read about cloud computing in Chapter 3 of the course text, which discussed cloud computing as it applies to all types of applications.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd