Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
2.1.0
-
None
Description
Hello,
On 07/31/2012 03:31 PM, Chris Hyzer wrote:
> Sorry, Grouper does not work in the latest servlet container since for some reason they changed EL without making it backwards compatible... can you use the older version e.g. tomcat 6?
Trying to use Grouper 2.1.1 UI with Apache Tomcat 7.0.29 I ran into
the same problem reported by Dick Visser. After some tinkering the
following change seems to fix the problem:
diff $CATALINA_HOME/webapps/grouper/WEB-INF/jsp/dynamicTile.jsp
{.01,}34c34
< <!-- <c:out value="${uiException.class.simpleName}"/>:<c:out
escapeXml="false" value="${uiException.message}"/> -->
—
> <!-- <c:out value="#
"/>:<c:out escapeXml="false" value="${uiException.message}"/> -->
The hint came from reading this tutorial chapter on EL 2.2:
The Java EE 6 Tutorial
6. Expression Language
Value and Method Expressions
Method Expressions
http://docs.oracle.com/javaee/6/tutorial/doc/bnahu.html#bnahz
A very quick test exercising just a few UI features showed no other
errors on screen or in grouper_ui.log.
- Is this change compatible with JSP 2.1/EL 2.1? (i.e. can the same
version of the file be used for Tomcat 6 and Tomcat 7?)
- Would it be easy to generalize this change to fix all affected
Grouper JSP files (i.e. those not compatible with EL 2.2)?
- Alternatively, is it possible to force the use of JSP 2.1/EL 2.1 in
Tomcat 7? (e.g. similar to the declaration of the Servlet version,
2.4 vs 3.0, in web.xml).
Best regards,
Dominique
–
Mr Dominique Petitpierre, user=Dominique.Petitpierre domain=unige.ch
IT Division, University of Geneva, Switzerland