I am trying to assure correct exception handling; depending on the exception, the user is forwared to an error page. I did develop a Filter class, an ErrorAwareRequestWrapper class that wraps the http error codes. When I do a deploy (on a BEA Weblogic 8.1) I receive an error. Hereby I will show you my :
The Filter class.
The ErrorAwareRequestWrapper class
The web.xml file
The stack trace of the exception thrown by the server
Has anyone yet expercience with handling exceptions using error pages or filters ? All help is welcome. Thx,