Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

6. Securing Enterprise Java Beans Applic... > Creating content for the portal DWP

Creating content for the portal DWP

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.

Location of files within the project

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.

Location of files within the project

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.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint