Write a JSF page that lets the user enter loan amount, interest rate, and number of years,

Question:

Write a JSF page that lets the user enter loan amount, interest rate, and number of years, as shown in Figure 33.28a. Click the Compute Loan Payment button to compute and display the monthly and total loan payments, as shown in Figure 33.28b. Use the Loan class given in Listing 10.2, Loan.java, to compute the monthly and total payments.

image

image

The JSF page computes the loan payment.

Listing

image

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: