Assemble the application: Package the Web application files

The application assembly tool requires a JAR file for input when creating a Web module. Follow these steps to package the HitCount servlet and JSP files into a JAR file.

  1. Enter the Start Qshell (STRQSH) command on an OS/400 command line.

  2. On the Qshell command line, enter this command:

    cd /hcsample

  3. Package the servlet and JSP files into a JAR file named HitCount.jar. Enter this command:
    jar cf HitCount.jar HitCount.*

Continue Next: Assemble the EJB module