JSP Model

JSP Model 1 and Model 2 Architecture

The early JSP specifications presented two approaches for building web applications using JSP technology. These two approaches were described in the specification as JSP Model 1 and Model 2 architectures.

Although the terms are no longer used in the JSP specification, their usage throughout the web tier development community is still widely used and referenced.The two JSP architectures differed in several key areas.

The major difference was how and by which component the processing of a request was handled. With the Model 1 architecture, the JSP page handles all of the processing of the request and is also responsible for displaying the output to the client. This is better seen in Figure

For figure and more details refer attachment.

JSP Model


Back to top