cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <demablo...@gmail.com>
Subject Re: How CXF helps to redirect to non-matching http request to a static HTML page
Date Sat, 05 Mar 2016 17:15:09 GMT
Hi

You could use a custom error page for 404 error code
Look at error-page and error code in web.xml


2016-03-05 6:23 GMT+01:00 Sumit Arora <sumit1234@gmail.com>:
> As CXF provides configuration to set default page from :
>
> <init-param>
>             <param-name>static-welcome-file</param-name>
>             <param-value>/main.html</param-value>
>         </init-param>
>
> This is working fine.
>
> My question : *How to redirect to non-matching http request to a static
> HTML page  ?*
>
> 'Sumit

Mime
View raw message