cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoppe, Michael" <>
Subject defining static-welcome-file in CXFServlet configuration
Date Wed, 05 Sep 2012 11:12:42 GMT
Dear list,

I have an application that uses cxf version 2.6.2 and has several rest-endpoints. Additionally
it serves static pages.
So I configured the CXFServlet to serve requests with particular extensions as static pages.

My configuration in web.xml:
    <display-name>CXF Servlet</display-name>

This works fine.

Now I want to add a welcome-page when a user requests the application root-path.
Ie request to returns
I tried this by adding the following init-param to my servlet-configuration:


So when I now call, index.html is returned. So this works fine.

But when I call another static page like
also index.html is returned.
Is this a bug or do I do something wrong?

Thanks for your help + greetings


Dr. Michael Hoppe
IT, Development & Applied Research
Phone +49 7247 808-251
Fax +49 7247 808-133

FIZ Karlsruhe - Leibniz Institute for Information Infrastructure
Hermann-von-Helmholtz-Platz 1
76344 Eggenstein-Leopoldshafen, Germany<>

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message