Generalized web.xml
This commit is contained in:
parent
efff6efe0d
commit
faafc67be6
|
@ -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>
|
Loading…
Reference in New Issue