[mojarra trunk] Mojarra and precompiled JSPs

From: Martin Kočí <>
Date: Mon, 27 Apr 2009 13:47:47 +0200


there is a issue with current Mojarra and precompiled JSPs: class
JspViewHandlingStrategy does a resource check at line 287:

 if (extContext.getResource(requestURI) == null) {
                if (!extContext.isResponseCommitted()) {
                    extContext.responseSendError(404, requestURI + " not
 return true;

but if JSPs are precompiled and not included in .war the result of the
response is 404.

A workaround is leaving JSPs in .war. That resource check was not
present in 1.2_XY version. What is the right solution for this issue?