I am currently reading Ch3 and duplicate the web app on my computer in this chapter. How come in the Servlet code and Model source code it use out.print instead of System.out.print? Did the code implement static import? Can someone point this out to me?
Without the book, I can't tell for sure, but I guess that it gets the output stream using the ServletRequest. Look at getWriter's method. Basically speaking, the output stream corresponds to your web page, but System.out does not.