Chapter 12
-
Upload
inga-cooke -
Category
Documents
-
view
17 -
download
0
description
Transcript of Chapter 12
Chapter 12
Controlling the Structure of Generated Servlets: The JSP
page Directive
Exercise 1
Design an JSP exchange 1. USD to VND2. ERROR to VND3. Japanese JEN to VND4. Singapore dollar to VNDhttp://service.tuoitre.com.vn/transweb/tygia.htm
Exercise 1 - Interface
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 accountThere 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