© Dave Wolf, A.J. Henley 2017

Dave Wolf and A.J. Henley, Java EE Web Application Primer, https://doi.org/10.1007/978-1-4842-3195-1_20

20. The Presentation/View

Dave Wolf and A. J. Henley2

(1)New York, USA

(2)Washington, D.C., District of Columbia, USA

The presentation layer, also known as the view, is the perspective your end user has of your application. They don’t see all the Java code. They only see what the browser displays. The view consists mostly of HTML, JavaScript, and images. In this section, we’ll look at the different JSP files that make up the view. The JSP files contain other code such as JSTL, but the end result is that they become HTML files sent to the user’s browser.

To start, the user browses to the site’s URL for the login.jsp ...

Get Java EE Web Application Primer: Building Bullhorn: A Messaging App with JSP, Servlets, JavaScript, Bootstrap and Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.