JSP Components
 
Running the JSP Component
 
To run Account.jsp from your browser, specify the URL as follows, but replace with the name of the machine that is running the J2EE server:
http://<host>:8000/AccountContextRoot/Account.jsp
 
To create a new account, follow these steps:
1. In the Account ID field, enter a three-digit integer.
2. In the Balance field, enter the intitial balance (for example, 100.00).
3. In the First Name and Last Name fields enter your name.
4. Under Action, select Create.
5. Click the Submit button.
 
To credit an account, perform the following tasks:
1. In the Account ID field, enter the three-digit account identifier.
2. In the Amount field, enter the credit amount (for example, 55.00).
3. Under Action, select Credit.
5. Click the Submit button.