Thanks paul, you're now on the Christmas card list, however I've got
that lot setup already.  My question was more along the lines of how can
I get any data about the actual url requested.

As far as I can tell TC knows nothing about the original request and
only allows you to display a *virgin* jsp page (ie: no history).

Does anyone know if there's a way to get the original request url from a
404 redirect?

Thanks again,

Tref


------------------------------------------------------
Tref Gare
Development Consultant
Areeba
Level 19/114 William St, Melbourne VIC 3000
email: [EMAIL PROTECTED]
phone: +61 3 9642 5553
fax: +61 3 9642 1335
website: http://www.areeba.com.au
------------------------------------------------------

-----Original Message-----
From: Paul Campbell [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 20 December 2002 10:44 AM
To: Tomcat Users List
Subject: Re: custom 404 error behaviour - obtaining the url requested

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]>


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

Reply via email to