Re: error page customization

2002-04-03 Thread Julien OIX

Gary McGowan a écrit :
> 
> In the web.xml file you can define error pages
> 
> Example:
> 
> 
> 404
> /missing.jsp
> 
> 
> And so on
> 
> You can also define error pages for any exceptions: (again in web.xml)
> 
> Example :
> 
>  
> 
> java.lang.ArrayIndexOutOfBoundsException
> /error.html
>  
> 
> Gary


thanks a lot :-)

> - Original Message -
> From: "Julien OIX" <[EMAIL PROTECTED]>
> To: "Tomcat list" <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 2:06 PM
> Subject: error page customization
> 
> > hi everyone,
> >
> > I'm using Tomcat4 and Apache (mod_webapp connector) on a Linux RedHat
> > 7.1;
> >
> > If I want to define templates for 404 or 403 errors, where do I have to
> > configure this stuff ?
> >
> > If Apache, with ErrorDocument directives in my virtual host
> >
> > If Tomcat, where can I configure this ? (I'm using the default web.xml
> > for my application)
> >
> > thanks in advance.
> >
> > --
> > Julien OIX
> > Service Informatique de Gestion
> > Tél: 02 40 99 83 65
> > mail: [EMAIL PROTECTED]
> >
> > --
> > To unsubscribe:   
> > For additional commands: 
> > Troubles with the list: 
> >
> >
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

-- 
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: [EMAIL PROTECTED]

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: error page customization

2002-04-03 Thread Gary McGowan

In the web.xml file you can define error pages

Example:


404
/missing.jsp


And so on

You can also define error pages for any exceptions: (again in web.xml)

Example :

 

java.lang.ArrayIndexOutOfBoundsException
/error.html
 

Gary
- Original Message -
From: "Julien OIX" <[EMAIL PROTECTED]>
To: "Tomcat list" <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 2:06 PM
Subject: error page customization


> hi everyone,
>
> I'm using Tomcat4 and Apache (mod_webapp connector) on a Linux RedHat
> 7.1;
>
> If I want to define templates for 404 or 403 errors, where do I have to
> configure this stuff ?
>
> If Apache, with ErrorDocument directives in my virtual host
>
> If Tomcat, where can I configure this ? (I'm using the default web.xml
> for my application)
>
> thanks in advance.
>
> --
> Julien OIX
> Service Informatique de Gestion
> Tél: 02 40 99 83 65
> mail: [EMAIL PROTECTED]
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: