Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 5.0.24 can't use error page

 
Michael Wang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens when you try to browse to the error page directly? (Perhaps it has an error itself).
 
Michael Wang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic