in web.xml
<web-app>
<error-page>
        <error-code>404</error-code>
        <location>/NotFound.jsp</location>  # note the / is NOT a typo
</error-page>
</web-app>

At 09:59 AM 12/20/2002 +1100, you wrote:
>Hi all,
> 
>I'm sure I've seen this discussed before so apologies for repeating but I can't 
>manage to find it in the archives nor via googling.
> 
>Can anyone enlighten me on the behaviour of tomcat with 404 redirection?
> 
>We're running TC4.1.12 connected to apache 2.0.43 via mod_jk.  Both apache and Tomcat 
>are configured to pass any 404 errors through to error/404.jsp where we want to 
>implement a quasi intelligent lookup system which will attempt to either match pages 
>for common mispellings or to known url changes.
> 
>However I believe TC uses redirection for its custom error pages and as such doesn't 
>seem to have any memory of what the actual url requested was.
> 
>Any assistance as always will guarantee a place in my virtual christmas card list.
> 
>Thanks 
> 
>Tref Gare
> 
> 
> 
>
>        -----Original Message----- 
>        From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]] 
>        Sent: Wed 18/12/2002 23:03 
>        To: [EMAIL PROTECTED] 
>        Cc: 
>        Subject: obtaining mod_jk
>        
>        
>        
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to