The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

jwatkin (2) [Avatar] Offline
In JSTL 1.0.6, <c:import> seems to fail silently when the url attribute isn't empty and points to a non-existent file. Why doesn't it throw a "file not found" error that I can catch with <c:catch>?

Is there any reasonable way to test for this kind of error?
jwatkin (2) [Avatar] Offline
Re: How to Catch File Not Found?
To elaborate, I'm referring to the case when the URL is context relative. It will throw an error when the URL is like: "http://somecontext/jsp/somefile.jsp", but not when it's like: "/jsp/somefile.jsp". This seems inconsistent and makes debugging harder. Is there any attribute or server setting that will enable this sort of error detection? Otherwise, I have to set flags in all of my pages.