O'Reilly logo

Java EE 7: The Big Picture by Dr. Danny Coward

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

image

CHAPTER3

Dynamic Web Pages: JSP

A JavaServer Page (JSP) is a Java servlet turned inside out. In other words, a JSP is equivalent to a servlet in the sense that almost everything you can do in a Java servlet you can also do in a JSP; it is how you do it that is different.

In the last chapter on the Java Servlet API, you learned that a Java servlet is a Java component that analyzes an HTTP request and writes out response content either to an OutputStream or to a Writer. As you write more Java servlets, you will observe that much of the content that you write to the response object is static, and only a relatively small amount of the code is dynamically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required