Hi,
I have two identical JBoss 4.2.0 environments with Jersey 1.1.5 In one of
them I use jsp as is, while in anther environment I have pre-compiled jsp.
The Viewable interface is unable to resolve the pre-compiled jsp.
My jsp path is /foo/bar.jsp
I have the following in web.xml:
<init-param>
<param-name>com.sun.jersey.config.property.JSPTemplatesBasePath</param-name>
<param-value>/foo</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.feature.NormalizeURI</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.feature.CanonicalizeURIPath</param-name>
<param-value>true</param-value>
</init-param>
<!-- init-param>
<param-name>com.sun.jersey.config.property.WebPageContentRegex</param-name>
<param-value>/(images|js|styles|(oauth/))/.*</param-value>
</init-param -->
In the code .. I have the following :
..
String retour = "/bar.jsp";
return new Viewable(retour, this);
--
Regards
--Mahesh