InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.8: Administering Web applications (overview) >
6.6.8.1: Administering Web applications with the Java administrative console >
6.6.8.1.1: Configuring new Web applications

6.6.8.1.1: Configuring new Web applications

The product offers several ways to configure new Web applications:

  • By clicking Console -> Tasks -> Configure a Web application from the console menu bar.
  • By clicking Configure a Web application from the drop-down list on the Wizards toolbar button.
  • Using menus on resources in the Topology and Type trees (see Related information)

The first two methods lead to the Configure a Web application task wizard, for which detailed help is provided here.

  1. Follow the wizard instructions. On the first page, name the Web application and specify whether to add WebSphere "internal" servlets to the Web application to perform certain functions:
    • File servlet
    • Enable Serving Servlets by Classname (adds invoker servlet)
    • JSP enabler (adds the JSP processor servlets)
    • Chainer servlet
    See article 4.2.1.2.3 for a detailed description of each internal servlet.

  2. Click Next to proceed. Specify the servlet engine on which the Web application should reside.

  3. Click Next to proceed. Now:
    • Specify a name by which to administer the Web application.

    • Optionally, describe the Web application.

    • Specify the virtual host part of the Web application's served path. That is, what host name (or its aliases) will users specify when they access the Web application from a Web browser?

    • Specify the Web Path for the Web application. That is, what should users type in after the host name when requesting this Web application?

      For example, if you would like users to type

      http://default_host_alias/webapp/mywebapp
      to access the application (where default_host_alias is any valid alias for the default virtual host), specify:
      • Virtual Host = default_host_alias

      • Web Application Web Path= /webapp/mywebapp

  4. Click Next to proceed:
    • Specify the document root for the Web application. This is the fully qualified path to where the HTML and JSP files for the Web application will be found.

    • Specify the classpath, adding either a directory for servlets or specifying servlets individually. Also specify any other resources the Web application needs to know about in order to operate correctly.

      Note that both the document root and the classpath contain default values. You can accept the default values and then move your files there after finishing the task. Alternatively, you can change the default values to point to your files in their present locations, or a location to which you plan to move them.

    • Specify other Web application properties or accept the default values for them.

  5. Click Finish.

Go to previous article: Administering Web applications with the Java administrative console Go to next article: Converting WAR files with the Java administrative console

 

 
Go to previous article: Administering Web applications with the Java administrative console Go to next article: Converting WAR files with the Java administrative console