Le 20/08/09 17:48, Pid a écrit :
On 20/08/2009 16:04, llg wrote:
Le 20/08/09 15:41, Pid a écrit :
On 20/08/2009 14:25, llg wrote:
Hi,
I have a webapp that needs to be down if we are doing some
maintenance.
I use the manager to make the application unavailable but in this case
the 404 customized error-page is not displayed.
I modified the default web.xml (in conf/) to add the error-page
404, but
it doesn't seems to be resolved when the context is stopped.
Is the error page inside a stopped webapp, or elsewhere - if so where?
I tried twice : the error page is inside the root weapp AND the stopped
webapp.
How are you mapping the URL of the error page, post the fragment
please?
[cough] [ahem]
(attempts to draw attention to the second question, above)
I added in ${CATALINA_HOME}/conf/web.xml
<error-page>
<error-code>404</error-code>
<location>/my404.html</location>
<error-code>503</error-code>
<location>/my503.html</location>
</error-page>
and copied the 2 html files in ${CATALINA_HOME}/webapps/ROOT
p
p
If I type an URL that doesn't exists, that doesn't map to any
context, I
get the right error page. But if it match a context path of a webapp
that is stopped, I have the Tomcat default error page. Is there a
way to
fix this?
>
Thanks
Tomcat 6.0.20
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org