File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat 5.0.24 can't use error page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 5.0.24 can Watch "Tomcat 5.0.24 can New topic
Author

Tomcat 5.0.24 can't use error page

Michael Wang
Greenhorn

Joined: Jul 18, 2002
Posts: 2
When I use Tomcat 5.0.24 , if the jsp throws an Exception, it can't redirect to error page , it displays an Inernal Exceptoin.
But I use Tomcat 5.0.16 and Tomcat 4.1.30, the codes run.
Why?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

What happens when you try to browse to the error page directly? (Perhaps it has an error itself).
Michael Wang
Greenhorn

Joined: Jul 18, 2002
Posts: 2
When I tried to browse to the error page directly, It threw a java.lang.NullPointerException.
I used Tomcat 4.1.30, the result is the same.
 
 
subject: Tomcat 5.0.24 can't use error page