Jahia Dev Forum > Issues with Jahia...

0 (0 Good)
0 (0 Bad)

Issues with Jahia JSP Taglib / EL (Version

by  namitgupta »  2012/10/20 12:13


Hi All,


We have a requirement for implementing an access control a specific module. This module is added to the home template in our template set.  I have been trying out group based access control for the users. Here are the steps which have been tried out:


Access Control Using OOB taglibs


1)      I have tried to access the group membership of the current user using the following expression:




This expression should return a boolean value(Referencehttp://www.jahia.com/downloads/jahia/jahia6.6.0/jahia-root-


2)      The above mentioned JSP expression throws a Parse Exception at runtime. 


3)      This issue occurred because the OOB Appserver (Tomcat 6.0.35) supports JSP 2.1 standard , which doesn’t allow accessing a member function of an instance object in EL (Referencehttp://www.coderanch.com/t/561632/JSP/java/it-possible-access-instance-methods). In our case, we are using ‘memberOfGroup’ member function. This functionality is available in JSP 2.2 standard which comes inbuilt with Apache Tomcat 7.x.



4)      However, as per Apache’s online documentation, JSP 2.2 standard can be integrated with the Tomcat 6.0.x by adding new libraries to it and declaring the same in the context path in web.xml (Referencehttp://wiki.apache.org/myfaces/HowToEnableEl22).


5)      I tried integration EL2.2 with tomcat as per the steps mentioned (Ref1http://www.javaplex.com/blog/for-jsf-2-how-to-enable-el-2-2-on-tomcat-6/ Ref2http://wiki.apache.org/myfaces/HowToEnableEl22). PFA libraries used in integration. Also, I added the following configuration to the web.xml located in C:\jahia\tomcat\webapps\ROOT\WEB-INF. However, I’m still facing the same issue.


Please share your thoughts on this.






Number of messages  36
Registration date
0 (0 Good)
0 (0 Bad)

Re: Issues with Jahia JSP Taglib / EL (Version

by  shyrkov »  2012/10/22 21:31

Hello Namit,

I've have an answer to your question in the Jahia in English section post.


Kind regards


  • Re: Issues with Jahia JSP Taglib / EL (Version
    2012/10/22 21:31

    shyrkov <p> Hello Namit,</p> <p> I&#39;ve have an answer to your question in the <a href="http://www.jahia.com/cms/home/download/forum/general/jahia-in-english/issues-with-jahia-jsp-taglib--el.html">Jahia in English section post</a>.</p> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Oct 22, 2012

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page