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. Advertising

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. toylet

    trapping file i/o error

    toylet, Feb 19, 2004, in forum: Perl
    Replies:
    15
    Views:
    867
    Tassilo v. Parseval
    Feb 23, 2004
  2. =?Utf-8?B?UGF1bA==?=

    Error Trapping and Error Line Number

    =?Utf-8?B?UGF1bA==?=, Oct 26, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    463
    Hans Kesting
    Oct 27, 2005
  3. trapping error 500

    , Dec 27, 2004, in forum: Java
    Replies:
    1
    Views:
    436
    Andy Flowers
    Dec 27, 2004
  4. JavaQueries
    Replies:
    1
    Views:
    3,632
    John C. Bollinger
    Mar 1, 2005
  5. James
    Replies:
    2
    Views:
    9,069
    Jacek Dziedzic
    Nov 3, 2004
Loading...

Share This Page