The JavaTM Web Services Tutorial
Home
TOC
PREV TOP NEXT

Getting Started With Tomcat

Debbie Carson

This chapter shows you how to develop, deploy, and run a simple Web application that consists of a currency conversion class and a Web page client created with JavaServer Pages technology (JSP). This application will be deployed to and run on Tomcat, the Java Servlet and JSP container included with the Java Web Services Developer Pack ("Java WSDP"). This chapter is intended as an introduction to using Tomcat to deploy Web services and Web applications. The material in this chapter provides a basis for other chapters in this tutorial.

In This Chapter
Setting Up
Getting the Example Code
Checking the Environment Variables
Creating the Getting Started Application
The Converter Class
The Web Client
Building and Deploying the Getting Started Application Using Ant
Setting the CLASSPATH
Creating the Build File for Ant
Compiling the Source Files
Deploying the Application
Running the Getting Started Application
Starting Tomcat
Running the Web Client
Shutting Down Tomcat
Modifying the Application
Modifying a Class File
Modifying the Web Client
Reloading the Application
Common Problems and Their Solutions
Compilation Errors
Deployment Errors
Home
TOC
PREV TOP NEXT