O'Reilly logo

Sams Teach Yourself JavaServer Pages™ in 21 Days by Steven Holzner

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

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 ...

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