50 likes | 149 Views
Chapter 12. Controlling the Structure of Generated Servlets: The JSP page Directive. Exercise 1. Design an JSP exchange 1. USD to VND 2. ERROR to VND 3. Japanese JEN to VND 4. Singapore dollar to VND http://service.tuoitre.com.vn/transweb/tygia.htm. Exercise 1 - Interface. Exercise 2.
E N D
Chapter 12 Controlling the Structure of Generated Servlets: The JSP page Directive
Exercise 1 Design an JSP exchange 1. USD to VND 2. ERROR to VND 3. Japanese JEN to VND 4. Singapore dollar to VND http://service.tuoitre.com.vn/transweb/tygia.htm
Exercise 2 Upgrade Execise1 add function for user can select VND -> to another foreign currency or foreign currency to VND
Interest money Design a JSP to calculate Interest money of a bank account. Input: Bank Deposits, Number of Months, Type of account There are 4 type of account: • No fixed limit-time ( 0.3 % per month) • 1 month (0.4 % per month) • 3 months (0.6 % per month) • 6 months (0.9 % per month) Output: Interest money and total money received