This section lists the general actions to create a web application, and provides pointers to more information.
Create a directory for all of the web application's files. This directory is the web application's document root.
Create any needed HTML files, image files, and other static content.
Place these files in the document root directory or a subdirectory where they can be accessed by other parts of the application.
Create any needed JSP files.
For more information, see Chapter 5, Developing JavaServer Pages
Create any needed servlets.
For more information, see Chapter 4, Developing Servlets.
Compile the servlets.
For details about precompiling JSPs, see Compiling JSPs Using the Command-Line Compiler.
Organize the web application as described in Web Application Structure.
Create the deployment descriptor files.
For more information, see Creating Web Deployment Descriptors.
jar -cvf module_name.war *.
Deploy the web application. For more information, see Deploying Web Applications.
You can create a web application manually or you can use Java System Enterprise Studio. For more information about developing web applications in Sun Java Enterprise Studio, see http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html