The response object is what contains the HTML data stream that is returned to the browser.

Since the HTML page is dynamic, the page needs to be created every time it is requested.  The actual HMTL is created and stored in the Response object before being sent to the browser.

Think of the process, crudely, as taking out the trash.  The ultimate destination is the dump, but you don’t take every piece there one at a time and you don’t have the same trash sitting around to be taken over and over again.  You place your trash in a bag.  When it’s full, you take it outside.  From there, it’s picked up by the truck and taken to the dump.  You are the server filling the bag.  The bag is the HMTL page, each one unique.  The dump is the browser. 

For this course, we will not work with the response object.

In ASP, we used the Response object to print message to the HMTL data stream.  In JSP, we will use the out object instead:
[
][
]
out.println("message = " + message + "
"); [
][
] Add the line above to your "HelloWorld.jsp" page, somewhere inside the code block, and reload the page in your browser. Above the original "Hello, World!" and in smaller print should be "strMessage=Hello, World!" The "
" in the code line simply sends the HTML break so that the two "Hello, World!" messages are on separate lines.