trapping error 500

Discussion in 'Java' started by faisal.aziz@gmail.com, Dec 27, 2004.

  1. Guest

    I am using apache tomcat 5.x as my container. i m getting error code
    500 and i want to trap that error so that show my error page instead of
    tomcats error page.

    I m using this at the moment

    <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/test.jsp</location>
    </error-page>

    in my web.xml.

    Any help will be appreciated.
     
    , Dec 27, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rod
    Replies:
    9
    Views:
    4,128
    Jim Cheshire [MSFT]
    Jul 26, 2004
  2. John Bonds
    Replies:
    2
    Views:
    3,301
    Amaryllis
    Aug 3, 2004
  3. =?Utf-8?B?UGF1bA==?=

    Error Trapping and Error Line Number

    =?Utf-8?B?UGF1bA==?=, Oct 26, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    645
    Hans Kesting
    Oct 27, 2005
  4. Replies:
    5
    Views:
    83,670
    cpdarkman
    Aug 26, 2009
  5. trapping error 500

    , Dec 27, 2004, in forum: Java
    Replies:
    1
    Views:
    501
    Andy Flowers
    Dec 27, 2004
  6. JavaQueries
    Replies:
    1
    Views:
    4,056
    John C. Bollinger
    Mar 1, 2005
  7. Pooja Chavan
    Replies:
    1
    Views:
    793
    John C. Bollinger
    Mar 1, 2005
  8. James
    Replies:
    2
    Views:
    9,379
    Jacek Dziedzic
    Nov 3, 2004
Loading...