Once the DWP has been configured, we can proceed to add the content that will implement the functionality of this module. We could just provide a list of the files that are part of the application, however, that would not help to understand how the application operates and how it is protected.
There are several HTML and JSP files used by the portal DWP. All of them are located in the WebContent directory as shown in the following screenshot. Furthermore, those files, which are components of a larger unit, are grouped under the templates directory.
The preceding screenshot also shows a Servlet class, the PortalHomeSelectorServlet. It is logically stored under the Java package was7sec.chap6.web. This Servlet is mapped to the URI
/index.html, therefore, it is the first component invoked when the portal application is accessed.