In our web.xml, we have CXFServlet mapped to the /* url pattern:
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
This works great and we don't want to change it at this point. But I would like to have an html page (/admin/index.html
) that is not handled by the CXFServlet, and is just served up directly as html. How can I accomplish this? I don't know how to create a servlet mapping just to serve an html page.
Note we are using IBM WebSphere 8 (WAS 8) if that matters.
welcome-file-list
andwelcome-file
– Sotirios Delimanoliswelcome-file
does not work; I added a welcome-file ofindex.html
but the CXFServlet still handles requests for/admin
and/admin/
. It responds with "No service found". – Michael Lucas