From d563d18090d352345b6a20a2dde1cd65ad783f39 Mon Sep 17 00:00:00 2001 From: Maxim Nesen Date: Mon, 4 Jan 2021 10:52:47 +0100 Subject: [PATCH] JakartaEE 9.0 namespaces applied to examples Signed-off-by: Maxim Nesen --- examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml | 4 ++-- examples/cdi-webapp/src/main/webapp/WEB-INF/web.xml | 8 ++++---- .../freemarker-webapp/src/main/webapp/WEB-INF/web.xml | 8 ++++---- .../helloworld-webapp/src/main/webapp/WEB-INF/web.xml | 4 ++-- .../src/main/webapp/WEB-INF/web.xml | 6 +++--- .../src/main/webapp/WEB-INF/web.xml | 4 ++-- .../managed-beans-webapp/src/main/webapp/WEB-INF/web.xml | 8 ++++---- .../src/main/webapp/WEB-INF/web.xml | 6 +++--- .../managed-client-webapp/src/main/webapp/WEB-INF/web.xml | 4 ++-- examples/multipart-webapp/src/main/webapp/WEB-INF/web.xml | 8 ++++---- .../webapp/src/main/webapp/WEB-INF/web.xml | 8 ++++---- examples/servlet3-webapp/src/main/webapp/WEB-INF/web.xml | 6 +++--- 12 files changed, 37 insertions(+), 37 deletions(-) diff --git a/examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml b/examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml index 1259c8a6ad..7d3e06f811 100644 --- a/examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + org.glassfish.jersey.examples.bookstore.webapp.MyApplication diff --git a/examples/cdi-webapp/src/main/webapp/WEB-INF/web.xml b/examples/cdi-webapp/src/main/webapp/WEB-INF/web.xml index 3090928564..95df745607 100644 --- a/examples/cdi-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/cdi-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" + version="5.0"> injectedResource java.lang.Integer diff --git a/examples/freemarker-webapp/src/main/webapp/WEB-INF/web.xml b/examples/freemarker-webapp/src/main/webapp/WEB-INF/web.xml index 7748cd5523..17eef2b121 100644 --- a/examples/freemarker-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/freemarker-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd"> org.glassfish.jersey.examples.freemarker.MyApplication diff --git a/examples/helloworld-webapp/src/main/webapp/WEB-INF/web.xml b/examples/helloworld-webapp/src/main/webapp/WEB-INF/web.xml index 30f8cf6503..9c3211d2bf 100644 --- a/examples/helloworld-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/helloworld-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + org.glassfish.jersey.examples.helloworld_servlet.MyApplication org.glassfish.jersey.servlet.ServletContainer diff --git a/examples/https-server-glassfish/src/main/webapp/WEB-INF/web.xml b/examples/https-server-glassfish/src/main/webapp/WEB-INF/web.xml index 9833d0ff44..8dc01bbf1b 100644 --- a/examples/https-server-glassfish/src/main/webapp/WEB-INF/web.xml +++ b/examples/https-server-glassfish/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + Jersey Web Application org.glassfish.jersey.servlet.ServletContainer diff --git a/examples/json-processing-webapp/src/main/webapp/WEB-INF/web.xml b/examples/json-processing-webapp/src/main/webapp/WEB-INF/web.xml index 52f4ddb488..fb2223f1af 100644 --- a/examples/json-processing-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/json-processing-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + org.glassfish.jersey.examples.jsonp.MyApplication org.glassfish.jersey.servlet.ServletContainer diff --git a/examples/managed-beans-webapp/src/main/webapp/WEB-INF/web.xml b/examples/managed-beans-webapp/src/main/webapp/WEB-INF/web.xml index 1e3283ba19..c81a73ba3f 100644 --- a/examples/managed-beans-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/managed-beans-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" + version="5.0"> injectedResource java.lang.Integer diff --git a/examples/managed-client-simple-webapp/src/main/webapp/WEB-INF/web.xml b/examples/managed-client-simple-webapp/src/main/webapp/WEB-INF/web.xml index 7d0f76e269..79945c4ab8 100644 --- a/examples/managed-client-simple-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/managed-client-simple-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + managedclientsimple.resources.ManagedClientApplication org.glassfish.jersey.servlet.ServletContainer diff --git a/examples/managed-client-webapp/src/main/webapp/WEB-INF/web.xml b/examples/managed-client-webapp/src/main/webapp/WEB-INF/web.xml index 86fc82a0f6..9e03a923e2 100644 --- a/examples/managed-client-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/managed-client-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + org.glassfish.jersey.examples.managedclient.MyApplication org.glassfish.jersey.servlet.ServletContainer diff --git a/examples/multipart-webapp/src/main/webapp/WEB-INF/web.xml b/examples/multipart-webapp/src/main/webapp/WEB-INF/web.xml index c01fef184a..1afeaf51be 100644 --- a/examples/multipart-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/multipart-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd"> org.glassfish.jersey.examples.multipart.resources.MyApplication diff --git a/examples/server-async-standalone/webapp/src/main/webapp/WEB-INF/web.xml b/examples/server-async-standalone/webapp/src/main/webapp/WEB-INF/web.xml index c94cdfa65d..e7e9377d46 100644 --- a/examples/server-async-standalone/webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/server-async-standalone/webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" + version="5.0"> async-app org.glassfish.jersey.servlet.ServletContainer diff --git a/examples/servlet3-webapp/src/main/webapp/WEB-INF/web.xml b/examples/servlet3-webapp/src/main/webapp/WEB-INF/web.xml index 91a6614fb5..387ab652fc 100644 --- a/examples/servlet3-webapp/src/main/webapp/WEB-INF/web.xml +++ b/examples/servlet3-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,7 +1,7 @@ - + org.glassfish.jersey.examples.servlet3.webapp.App