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

  The bookstore wants you to make an object-oriented model

student bookstore at pleasant creek community college situation the bookstore staff at pleasant creek community college

  What is wrong with the given syntax

What is wrong with the following syntax? One of the three steps necessary to create a rolling banner is to create an __________ object. The __________ HTML tag is a form element used to define a selection list.

  Create a script that presents a word-guessing game

Create a script that presents a word-guessing game. Allow users to guess the word one letter at a time by entering a character in a form. Start by assigning a secret word to a variable.

  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.

  Write java program that display a welcoming message

Write a complete Java program with the following specifications: Display a welcoming message such as: "Welcome to Cubing Program!" Prompt the user twice to enter two positive whole numbers, indicating starting and finishing values, first one being s..

  Difference between each element and the max

Find the maximum number out of 5 array elements and calculate the difference between each element and the max

  Write an interface for an abstract method

Write an interface, PointingDevice, containing:  an abstract method, getXCoord that returns an int and an abstract method, getYCoord that returns an int.

  Achieving simplicity and merely being simplistic

What is the difference between achieving simplicity and merely being simplistic?

  Create the look for two gui applications

Create the look for two GUI applications. You WILL NOT be getting the applications to do anything. We are only interested in seeing how well you can arrange the GUI components onto the window

  Write program in java to calculate interest

Write a program in java to do the following : the following data is stored for each customer in the bank: account number,average balance and number of transaction for each customer it is required to calculate the interest earn

  Find additional amount of sale that each salesperson achieve

It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners. The application should ask for the name of each salesperson being compared.

  Build a software simulation of a dvd player

CMPT270 Intersession 2017 Assignment - Design and then build a software simulation of a DVD player that also has WIFI capability

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