tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Smith" <sat-g...@home.com>
Subject Re: error-code with tomcat 3.2.1
Date Sat, 04 Nov 2000 16:56:20 GMT
Boris,

You neglected to say anything about your environment.

Here's the deal, though. When tomcat is employed as
a servlet runner for another web server (e.g., apache/tomcat)
the error page works for requests sent to tomcat, e.g.,
for *.jsp. Other types of content, like html need to be set up
in apache.conf with a directive.

The xml file format is very picky. Read the DTD, the
entries MUST be in proper order.

Regards,

Dave

----- Original Message -----
From: "Boris Ioffe" <ioffe@akula.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 02, 2001 12:32 AM
Subject: error-code with tomcat 3.2.1


> Fellows!
> I was tackling this topic for weeks and it seems like this feature won't
> work for me. The situation is simple like 3-4 previously described in this
> forum. I need XML based error page.
>  I'll explain behavior of my tomcat instance.
> relevant part of web.xml:
> <error-page>
> <error-code>404</error-code>
> <location>error/404.jsp</location>
> </error-page>
>
>
> First it doesn't react on anything in location but error.jsp
> if I put error.jsp it goes to loop and then overflows.
> if I remove / thingy
> for once it returns strange 500 error with null in body content and
switches
> to standard IE fill of 404 error message .
> ppl just please tell me that it works somehow. Project ends by January 10.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message