parent
ee4fd24cb1
commit
29ee1c26d3
|
@ -911,7 +911,7 @@ Some examples of elements with origin attribute information are:
|
|||
<servlet-class origin="@WebServlet(com.acme.test.TestServlet):24">
|
||||
----
|
||||
|
||||
To generate origin informatino, use the following configuration parameters on the `webApp` element:
|
||||
To generate origin information, use the following configuration parameters on the `webApp` element:
|
||||
|
||||
originAttribute::
|
||||
The name of the attribute that will contain the origin.
|
||||
|
@ -1108,6 +1108,8 @@ Here is a configuration example:
|
|||
[[running-more-than-one-webapp]]
|
||||
==== Running More than One Webapp
|
||||
|
||||
===== With jetty:run
|
||||
|
||||
You can use either a `jetty.xml` file to configure extra (pre-compiled) webapps that you want to deploy, or you can use the `<contextHandlers>` configuration element to do so.
|
||||
If you want to deploy webapp A, and webapps B and C in the same Jetty instance:
|
||||
|
||||
|
@ -1191,6 +1193,10 @@ Then configure the location of this `jetty.xml` file into webapp A's jetty plugi
|
|||
For either of these solutions, the other webapps must already have been built, and they are not automatically monitored for changes.
|
||||
You can refer either to the packed WAR file of the pre-built webapps or to their expanded equivalents.
|
||||
|
||||
===== With jetty:run-distro
|
||||
|
||||
Simply configure a jetty base that contains all of the other prebuilt webapps you wish to deploy.
|
||||
|
||||
[[setting-system-properties]]
|
||||
==== Setting System Properties
|
||||
|
||||
|
|
Loading…
Reference in New Issue