You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: containers/jersey-servlet/src/main/java/org/glassfish/jersey/servlet/init/JerseyServletContainerInitializer.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,10 +68,10 @@ themselves of container-supplied class scanning facilities.
68
68
- If an application subclass is present that is not being handled by an
69
69
existing servlet then the servlet added by the ContainerInitializer MUST be
70
70
named with the fully qualified name of the Application subclass. If the
71
-
Application subclass is annotated with @PathPrefix and no servlet-mapping
71
+
Application subclass is annotated with @ApplicationPath and no servlet-mapping
72
72
exists for the added servlet then a new servlet mapping is added with the
73
-
value of the @PathPrefix annotation with "/*" appended otherwise the existing
74
-
mapping is used. If the Application subclass is not annotated with @PathPrefix
73
+
value of the @ApplicationPath annotation with "/*" appended otherwise the existing
74
+
mapping is used. If the Application subclass is not annotated with @ApplicationPath
75
75
then the application MUST be packaged with a web.xml that specifies a servlet
76
76
mapping for the added servlet. It is an error for more than one Application
77
77
to be deployed at the same effective servlet mapping.
0 commit comments