Chapter 15. Handling Files on the Server

Welcome to Day 15! Today you'll see one of the most important topics in JSP programming—storing data on the server. One of the main reasons that programmers switch from client-based applications (such as those written in JavaScript that execute in the browser) to JSP is to be able to store and work with data in files (which you can't do in JavaScript). For example, you may want to create a guest book that stores user comments on the server, or even create and work with your own database. You might even want to log errors or user accesses—any data that you want to persist between sessions, you can store in files on the server. There are literally thousands of uses for working with files on the server.

Here ...

Get Sams Teach Yourself JavaServer Pages™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.