Finally figured this one out. An error page can be specified in the web.xml file for each error code:
this is real appreciated! :) I was stuck with this for a while! hehe..
another question though.. is it possible to generate our own error codes and catch them the same way? I would assume we can. I have'nt got time to look into this yet though, so if you already know the anwser and how to do it, I would appreciate it if you could share it with me! :)