• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to catch compile-time exceptions w/out configuring web.xml  RSS feed

 
Bill Brasskey
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to catch compile-time exceptions programmatically, without
configuring an error page in web.xml ?

regards,
-Brasskey
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Brasskey,
No. By definition, a compiler error breaks the code. That makes adding any code to detect compiler errors impossible.

This isn't a big problem though, since you will have tested your JSPs for errors before sending them to production.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!