HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Avoid error-page handling › Re: Re: Avoid error-page handling
August 3, 2011 at 16:58
#28609
I’ve just done some testing. By 404 error PD4ML throws to the top level FileNotFoundException, for others it is something like “Server returned HTTP response code: 500 for URL …”.
So obviously by error your JSP container returns the pre-configured error page with HTTP response code 200. In the case there is no indications to distinguish if it is an error page or a correct server response.