| Author |
exception-type entry in web.xml
|
Shantanu Puranik
Ranch Hand
Joined: Jun 10, 2004
Posts: 66
|
|
Hello, I have single web application running in tomcat 5.0. While generating some report, application is running out of memory. hence throws exception java.lang.OutOfMemoryError: Java heap space I know, this can be solved by increasing JVM memory allocation. But at first place, I want to avoid the exception being seen by the user. Hence I, tried out web.xml enrty for the outOfmemory error, still it shows the exception on the screen. Am I missing any thing?
|
--- Shantanu
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
I think, this exception is thrown by your servlet container i.e tomcat , and not by your apps java code .. Hence , I thought your not getting that error page .. Correct me, If I was wrong somewhere !
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
 |
|
|
subject: exception-type entry in web.xml
|
|
|