This is a diagram showing the role of JSP pages in the Model-View-Controller architecture. An HTTP request comes into a JSP page (or servlet) that acts as the "controller", or front-end, for the application. Another (or possibly the same) JSP page acts as the "view" module, outputting the HTTP response and presenting the data to the user. There may be forwarded requests between the pages, and either may make use of JavaBeans or Enterprise JavaBeans that communicate with the database and act as the "model" modules containing the business logic.