Custom error page on Tomcat 6

2007-03-20 Thread Hoa Doan
How do I set up a custom error page in Tomcat 6?

 
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

Re: Custom error page on Tomcat 6

2007-03-20 Thread Tim Funk

http://tomcat.apache.org/faq/misc.html#error

Hoa Doan wrote:

How do I set up a custom error page in Tomcat 6?



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Custom error page on Tomcat 6

2007-03-20 Thread Andrew Miehs

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20/03/2007, at 5:28 PM, Hoa Doan wrote:


How do I set up a custom error page in Tomcat 6?


Hoa,

Stupid question...

Have you tried entering Custom error page on Tomcat into Google?

Grrr

Andrew
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFGAA5vW126qUNSzvURAg4yAJ9pjgGLBPsUIT9MwACfD2gLuZdaYwCeJLqD
56it2Ldc49uvneo3j9MuBEY=
=ZEe0
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Custom error page on Tomcat 6

2007-03-20 Thread Peter Kennard

A refinement on this question I am interested in, that isn't so googleable :)

Can one make a class that spits out the error page that recieves the 
code number as input, (and/or maybe an Exception handle if the 
servelet threw an exception which caused the error) and an 
OutputStream to write back to the requester on?


That would be really really nice, and totally genrally customizable :)
PK

At 12:40 3/20/2007, you wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20/03/2007, at 5:28 PM, Hoa Doan wrote:


How do I set up a custom error page in Tomcat 6?


Hoa,

Stupid question...

Have you tried entering Custom error page on Tomcat into Google?

Grrr

Andrew




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Custom error page on Tomcat 6

2007-03-20 Thread Caldarale, Charles R
 From: Peter Kennard [mailto:[EMAIL PROTECTED] 
 Subject: Re: Custom error page on Tomcat 6
 
 Can one make a class that spits out the error page that recieves the 
 code number as input, (and/or maybe an Exception handle if the 
 servelet threw an exception which caused the error) and an 
 OutputStream to write back to the requester on?

Have you read the servlet spec?  This is covered in section 9.9:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Custom error page on Tomcat 6

2007-03-20 Thread Peter Kennard

At 16:58 3/20/2007, you wrote:

 From: Peter Kennard [mailto:[EMAIL PROTECTED]
 Subject: Re: Custom error page on Tomcat 6

 Can one make a class that spits out the error page that recieves the
 code number as input, (and/or maybe an Exception handle if the
 servelet threw an exception which caused the error) and an
 OutputStream to write back to the requester on?


Much of it, and in a hurry :)

Sometimes spec docs often leave specific implementation details 
ambiguous or TBD and often hard to decypher simple answers to things from :)


Thanks for the link!

I think yes it is covered in section 9.9 ?
Or
I don't think so it is covered in section 9.9 ?


Have you read the servlet spec?  This is covered in section 9.9:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

 - Chuck




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Custom error page on Tomcat 6

2007-03-20 Thread Filip Hanik - Dev Lists

http://people.apache.org/~fhanik/

check out GlobalErrorReportValve

Filip

Peter Kennard wrote:

At 16:58 3/20/2007, you wrote:

 From: Peter Kennard [mailto:[EMAIL PROTECTED]
 Subject: Re: Custom error page on Tomcat 6

 Can one make a class that spits out the error page that recieves the
 code number as input, (and/or maybe an Exception handle if the
 servelet threw an exception which caused the error) and an
 OutputStream to write back to the requester on?


Much of it, and in a hurry :)

Sometimes spec docs often leave specific implementation details 
ambiguous or TBD and often hard to decypher simple answers to things 
from :)


Thanks for the link!

I think yes it is covered in section 9.9 ?
Or
I don't think so it is covered in section 9.9 ?


Have you read the servlet spec?  This is covered in section 9.9:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

 - Chuck




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]