-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Sorry, I should have been more specific . . . I would like to have the
results of failed servlet compilations (specificly java server pages that
have failed compilation) to appear in my browser window . . . jserv's
output to my apache error_log suggests that this is possible:
<!-- snip -->
/tmp/logon_jsp_2.java:54: Class home.jkassis.WWW.ResultSet not found in
type decl
aration.
ResultSet rs = stmt.executeQuery("SELECT * FROM
clients")
;
^
6 errors
Unhandled error! You might want to consider having an error page to report
such errors more gracefully
com.sun.jsp.JspException: Compilation failed
<!-- snip -->
At 2:31 PM -0400 7/30/99, Brian Claus wrote:
>-----------------------------
>Please read the FAQ!
><http://java.apache.org/faq/>
>-----------------------------
>
>You can configure apache to return pages based on error codes:
>
>e.g.: add the following to your httpd.conf
>
>ErrorDocument 404 /missing.html
>
>> -----Original Message-----
>> From: Jeremy Kassis [SMTP:[EMAIL PROTECTED]]
>> Sent: Friday, July 30, 1999 2:16 PM
>> To: Java Apache Users
>> Subject: Configuring Custom Error Pages
>>
>> -----------------------------
>> Please read the FAQ!
>> <http://java.apache.org/faq/>
>> -----------------------------
>>
>> In the event of a servlet error, I would like a custom error page to
>> appear in the browser so that I don't have to keep checking the servlet
>> error log during the development process. Anyone know how to configure
>> this? I'm sure this has been asked before, but I couldn't find the
>> answer in the archives or FAQ.
>>
>> Thanks very much,
>> [EMAIL PROTECTED]
>>
>> Jeremy Kassis <[EMAIL PROTECTED]>
>> http://www.jkassis.com/
>> Work Phone: +1 650 498 7734
>> Home Phone: +1 650 941 6711
>> Pager by phone (key-in your phone number): +1 650 496 0160
>> Pager by web: http://www.jkassis.com/pub/pageMe.html
>> smail: PO Box 9820, Stanford CA 94309
>>
>>
>>
>>
>> --
>> --------------------------------------------------------------
>> Please read the FAQ! <http://java.apache.org/faq/>
>> To subscribe: [EMAIL PROTECTED]
>> To unsubscribe: [EMAIL PROTECTED]
>> Archives and Other: <http://java.apache.org/main/mail.html/>
>> Problems?: [EMAIL PROTECTED]
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html/>
>Problems?: [EMAIL PROTECTED]
Jeremy Kassis <[EMAIL PROTECTED]>
http://www.jkassis.com/
Work Phone: +1 650 498 7734
Home Phone: +1 650 941 6711
Pager by phone (key-in your phone number): +1 650 496 0160
Pager by web: http://www.jkassis.com/pub/pageMe.html
smail: PO Box 9820, Stanford CA 94309
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]