Generalized web.xml

This commit is contained in:
Luca Frosini 2024-05-28 17:21:32 +02:00
parent efff6efe0d
commit faafc67be6
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<display-name>${project.name}</display-name>
<description>${project.description}</description>
<servlet>
<servlet-name>helloword</servlet-name>
<servlet-name>${project.artifactId}</servlet-name>
<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>jersey.config.server.provider.packages</param-name>
@ -22,7 +22,7 @@
<url-pattern>/api-docs/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>helloword</servlet-name>
<servlet-name>${project.artifactId}</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>