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