wood burning stoves 2.0*
The moose likes Struts and the fly likes Prevent display of JspException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Prevent display of JspException" Watch "Prevent display of JspException" New topic

Prevent display of JspException

Wes Hughes
Ranch Hand

Joined: Jul 29, 2002
Posts: 31
I've been doing some refactoring with my ApplicationResources.properties and every once in a while I get a page that shows a JspException when I've mistyped a property name or whatever. Is there anyway of catching the JspException at this compilcation point and displaying a different message?
Theoretically, this should never happen once we deploy, but it could if someone mucked around with the properties.
It is sorta covered in the JavaRanch Style Guide.
subject: Prevent display of JspException
Similar Threads
Simple Tag - Get Request Object
Wrath of incompatible throws clause in SimpleTagSupport.doTag()
How to include page from custom tags
Nested Tag example in HFSJ