There should be a message in the web server's log file or in the servlet
engine's log file (you didn't say what you're using).
Since the exception was thrown in the init method and not in the doGet or
doPost method the exception is not associated with a request and so is not
displayed in the browser.
Displaying detailed error messages in the browser is servlet engine specific
anyway, some may not do it since detailed error messages could give away
information that could be considered a security risk.

ted stockwell

> -----Original Message-----
> From: Jeffrey D. Curry [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 03, 1999 9:14 AM
> To:   [EMAIL PROTECTED]
> Subject:      UnavailableException - doesn't display my message
>
> I throw this exception in my init() method if the RMI connection failed.
> Although, the message that I put in the UException does not display in the
> browser.
>
> Shouldn't this message display?  If not, where is it used?
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to