Change 404 error page when deploy with Jetty inside Equinox [message #900879] |
Wed, 08 August 2012 19:26  |
Eclipse User |
|
|
|
I have seen how to do this when depoloying a WAR file:
<servlet-mapping>
<servlet-name>equinoxbridgeservlet</servlet-name>
<url-pattern>/app/*</url-pattern>
</servlet-mapping>
<error-page>
<error-code>404</error-code>
<location>/error404.html</location>
</error-page>
How can we do something similar when deploying the web server inside the OSGi runtime (Equinox + Jetty + RAP + your app). I am deploying into a Virgo-tomcat server. Can I configure the custom error page in the config.ini there?
|
|
|
Re: Change 404 error page when deploy with Jetty inside Equinox [message #901566 is a reply to message #900879] |
Mon, 13 August 2012 12:56   |
Eclipse User |
|
|
|
George,
the plain HttpServer has no support for web.xml, hence custom error
pages won't work.
Virgo however may have support for this. You should ask this question on
the Virgo forum.
Regards,
Rüdiger
On 08.08.2012 21:26, George R Malary wrote:
> I have seen how to do this when depoloying a WAR file:
>
> <servlet-mapping>
> <servlet-name>equinoxbridgeservlet</servlet-name>
> <url-pattern>/app/*</url-pattern>
> </servlet-mapping>
>
> <error-page>
> <error-code>404</error-code>
> <location>/error404.html</location>
> </error-page>
>
>
> How can we do something similar when deploying the web server inside the
> OSGi runtime (Equinox + Jetty + RAP + your app). I am deploying into a
> Virgo-tomcat server. Can I configure the custom error page in the
> config.ini there?--
Rüdiger Herrmann
http://codeaffine.com
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04449 seconds