On Tue, 23 Oct 2001, Jeff Turner wrote:
> Date: Tue, 23 Oct 2001 12:53:46 +1000
> From: Jeff Turner <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Catching NPE's in JSPs
>
> I don't know.. 3.2, 3.3 and 4.0 are all uniformly useless at JSP error
> reporting, probably because (AFAIK) they use variants of the same JSP servlet,
> Jasper. Anyone know if other JSP engines handle errors better?
>
In 4.0, the error messages at least try to assist you in isolating where
in the source page this error occurred.
Of course, using an MVC-oriented application architecture, and avoiding
scriptlets in the first place, means the number of problems like this go
way way down. Of course, page developers who don't understand what an NPE
even is, let alone how to test for it, are going to struggle on any
development technology.
Craig