dev@javaserverfaces.java.net

[mojarra trunk] Mojarra and precompiled JSPs

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

Hi,

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
found");
                }
 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?


Thanks,

Martin