Creating a page
To display the content of the model layer, we will have to create the page that holds the model layer information bound using the page definition file. We can create a page without the page definition to bind the data to the model layer by just adding static content to the page. We can include the layout information and design the page that will suit the web application context.
EmpDirectoryApplication
has the index.jspx
page to display the EMP
table information. As the index.jspx
page is the landing page for our web application, we will move the employee information to a separate page named employee.jspx
. In this way, we have our information separated from the landing page. Categorizing the content of the page is important in creating a web-based application. We will have a layout designed for our index.jspx
page. The page creation for the DEPT
table is similar to that of the EMP
table. We will have the department information displayed in the dept.jspx
page. Therefore, we...