You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview

The geronimo-web.xml deployment plan is used to deploy web applications consisting of Java Servlet Pages (JSP) and servlets to to Geronimo, and optionally can be used to configure the web server (i.e., Tomcat or Jetty) where the Web application is going to be deployed.

Packaging

The geronimo-web.xml deployment plan can be packaged as follows:

  1. Embedded in a WAR file. In this case, a geronimo-web.xml file must be placed in the /WEB-INF directory of the WAR, which is the same place where the web.xml file must be located.
  2. Maintained separately from the WAR file. In this case, the path to the file must be provided to the appropriate Geronimo deployer (e.g., command-line or console). Note that in this case, the filename can be named something other than geronimo-web.xml but must adhere to the same schema.
  3. Embedded in an enterprise application EAR file. In this case, the high-level element <web-app> can be embedded in the EAR file's geronimo-application.xml file, or the actual geronimo-web.xml file must be placed in the /META-INF directory of the EAR, which is the same location as the application.xml file.

Schema

Top-level elements

Samples

  • No labels