Title: RE: Exception and Error handling in Servlet... methodologies ?

You should really be doing a few thing.

- Create your own exception to throw when critical.
        This class will log and email someone about the error.
- You must also send a message to the to the user so that he knows what is going on.

Stef



                      ,,                    Stephane DeCoeli Cote
                    `  >                  [EMAIL PROTECTED]
 ||                  ~                 || w (925) 730-3717
|||=oOOo=====oOOo=||| 
 ||             \  /||\  /            ||  
                  \/ || \/         
                     /\            

    -----Original Message-----
    From:   Sebastien Sahuc [SMTP:[EMAIL PROTECTED]]
    Sent:   Thursday, August 26, 1999 7:58 AM
    To:     [EMAIL PROTECTED]
    Subject:        Exception and Error handling in Servlet... methodologies ?

    Hi there,

    As developement of a servlet Aplication grows in our R&D department,
    the mechanism of Error & Exception Handling isn't fine because we're
    still wondering what suit best with Servlet philosophy : error
    reported in HTML to client browser ? Or logged in local file ?

    Is there any article on this subject ?

    Thank a lot for any reply you should provide.

    Sebastien
    [EMAIL PROTECTED]

    ___________________________________________________________________________
    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