Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java/JSP simple program: need assistance creating a credit card payment schedule Output would look like: . At the beginning of every month 1.5% interest is
Java/JSP simple program: need assistance creating a credit card payment schedule
Output would look like:
. At the beginning of every month 1.5% interest is added to the balance. The customer payment will be calculated using the monthly balance (including the interest) and the Percent to Pay input. The ending balance can be calculated using: beginning balance +interest - payment. Assume that when the monthly ending balance is less than the initial monthly payment, the customer can afford to pay off the remainder (plus interest) in the next month. You can use the Java NumberFormat class to make values appear as currency when printed. Required Components: You should make the following components for this assignment: index.jsp: an html form page that allows the user to enter the input data. Use textboxes and buttons. When the form is submitted, the paymentSchedule.jsp (which replaces the servlet from your last assignment) will be called to create the output. CreditCard.java: This defines a credit card object. This component represents a credit card account. Fields are included that represent the input data. In addition to Constructors and getters/setters, this component includes a method that will create a String. The String should contain the html and content of the output table. paymentSchedule.jsp: A a Java Server Page (isp) that will: 1. Get the data from the request. 2. Create a CreditCard object 3. Use the CreditCard object to calculate the payment schedule table 4. Get table String and values from CreditCard object and incorporate it into the HTML for response to the client. Credit Payment Schedule Customer: Victor Allan Account #: 2222 Balance Due: $500.00 Month Interest Payment Balance 1 $7.50 $50.75 $456.75 2 $6.85 $46.36 $417.24 3 $6.26 $42.35 $381.15 4 $5.72 $38.69 $348.18 5$5.22 $35.34 $318.06 6 $4.77 $32.28 $290.55 . At the beginning of every month 1.5% interest is added to the balance. The customer payment will be calculated using the monthly balance (including the interest) and the Percent to Pay input. The ending balance can be calculated using: beginning balance +interest - payment. Assume that when the monthly ending balance is less than the initial monthly payment, the customer can afford to pay off the remainder (plus interest) in the next month. You can use the Java NumberFormat class to make values appear as currency when printed. Required Components: You should make the following components for this assignment: index.jsp: an html form page that allows the user to enter the input data. Use textboxes and buttons. When the form is submitted, the paymentSchedule.jsp (which replaces the servlet from your last assignment) will be called to create the output. CreditCard.java: This defines a credit card object. This component represents a credit card account. Fields are included that represent the input data. In addition to Constructors and getters/setters, this component includes a method that will create a String. The String should contain the html and content of the output table. paymentSchedule.jsp: A a Java Server Page (isp) that will: 1. Get the data from the request. 2. Create a CreditCard object 3. Use the CreditCard object to calculate the payment schedule table 4. Get table String and values from CreditCard object and incorporate it into the HTML for response to the client. Credit Payment Schedule Customer: Victor Allan Account #: 2222 Balance Due: $500.00 Month Interest Payment Balance 1 $7.50 $50.75 $456.75 2 $6.85 $46.36 $417.24 3 $6.26 $42.35 $381.15 4 $5.72 $38.69 $348.18 5$5.22 $35.34 $318.06 6 $4.77 $32.28 $290.55Step 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