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:
- Embedded in a WAR file. In this case, a
geronimo-web.xml
file must be placed in the /WEB-INF directory, which is the same place where theweb.xml
file must be located. - 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. - 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 actualgeronimo-web.xml
file must be placed in the /META-INF directory, which is the same location as theapplication.xml
file.