Chapter 2. Server Setup and Configuration

Topics in This Chapter

  • Installing and configuring Java

  • Downloading and setting up a server

  • Configuring your development environment

  • Testing your setup

  • Simplifying servlet and JSP deployment

  • Locating files in Tomcat, JRun, and Resin

  • Organizing projects into Web applications

Before you can start learning specific servlet and JSP techniques, you need to have the right software and know how to use it. This introductory chapter explains how to obtain, configure, test, and use free versions of all the software needed to run servlets and JavaServer Pages (JSP). The initial setup involves seven steps, as outlined below.

  1. Download and install the Java Software Development Kit (SDK). This step involves downloading an implementation ...

Get Core Servlets and JavaServer Pages™: Volume 1: Core Technologies, 2nd Edition 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.