We'll now create screens for the loan approval process (another vertical slice of the application). This consists of a loan request form, task list screen, task manipulation (claim a task, start a task, complete a task), and final supervisor's approval. In this case we'll do a top-down approach starting with the presentation layer.
The Loan Request form
The following screenshot shows the Loan Request form:
Let's start with the implementation of the
loanRequest.jsp file, which will display the loan request form. We can copy the
customerSave.jsp file and just replace the form section with the following: