Sun Java System Application Server 

Samples Index

The webapps-simple Sample Application

The webapps-simple application is a collection of basic servlets and Java Server Pages (JSP pages) that demonstrate using the servlet and JSP APIs. Assemble and deploy this application for a quick an introduction to web applications and application development and administration tools.

The provided build script automatically registers the required JavaMail and JNDI resources with the Application Server. You might want to experiment by modifying and redeploying the application.

The general instructions for building, deploying, and running sample applications are provided in Building, Deploying, and Running Sample Applications. In reading this document, use the following application-specific variables for this application:

Follow this general procedure:

  1. Build the Application. The build file, build.xml, is in the app_dir directory, specifically, install_dir/samples/webapps/apps/simple.
  2. Deploy the Application The WAR file is install_dir/samples/webapps/apps/simple/webapps-simple.war.
  3. Run the Application The application name is webapps-simple.

Copyright © 2005 Sun Microsystems, Inc. All rights reserved.