You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Clifford Bryant <CB...@edgewater.com> on 2007/09/29 01:01:17 UTC

Variable Resolver Error

I am getting a JSTL variable resolver error running CAS 3.0.7 on Tomcat
5.5 with Java 1.4.2 and the Java compatibility JAR.

 

java.lang.AbstractMethodError:
javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el
/VariableResolver;

 

The JSTL jars are in the CAS /lib directory.  The JSTL page is listed
below.

 

I converted the page to a scriptlet, but am still getting the variable
resolver error whenever I try to use the expression language, e.g.,
reference $(flowExecutionKey} from CAS.

 

<%@ page session="false" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page import="com.rs.cas.util.RSCasUtil" %>

 

<c:set var="site"
value='<%=RSCasUtil.getWebsite(request.getParameter("service"))%>'/>

 

<c:choose>

      <c:when test="${site == 'terms'}">

            <jsp:include page="casiTimeLoginView.jsp"/>

      </c:when>

      <c:otherwise>

            <c:set var="app"
value='<%=RSCasUtil.getApplication(request.getParameter("service"))%>'/>

            <c:choose>

                  <c:when test="${app == 'hmm'}">

                        <jsp:include page="casiHireLoginView.jsp"/>

                  </c:when>

                  <c:when test="${app == 'populus'}">

                        <jsp:include page="casiTrackLoginView.jsp"/>

                  </c:when>

                  <c:when test="${app == 'iris'}">

                        <jsp:include page="casiRisLoginView.jsp"/>

                  </c:when>

            </c:choose>

      </c:otherwise>

</c:choose>

 

Cliff Bryant 

 

 



This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed.  This communication may contain information that is protected from disclosure by applicable law.  If you are not the intended recipient, or the employee or agent responsible for delivering this communication to the intended recipient, be advised that you have received this e-mail in error and any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.  If you believe that you have received this e-mail in error, please immediately notify Edgewater Technology by telephone at (781) 246-3343 and delete the communication from all e-mail files.


RE: Variable Resolver Error

Posted by Clifford Bryant <CB...@edgewater.com>.
This has been resolved.  The JSTL jars in the client application were
updated to version 1.1.  And, the jasper-compile.jar and
jasper-runtime.jar jar files were deleted from the client WEB-INF/lib
directory.

The following post was helpful.

http://mail-archives.apache.org/mod_mbox/tomcat-users/200411.mbox/%3C41A
4D215.1060204@joedog.org%3E


-----Original Message-----
From: Clifford Bryant [mailto:CBryant@edgewater.com] 
Sent: Friday, September 28, 2007 7:01 PM
To: users@tomcat.apache.org
Subject: Variable Resolver Error

I am getting a JSTL variable resolver error running CAS 3.0.7 on Tomcat
5.5 with Java 1.4.2 and the Java compatibility JAR.

 

java.lang.AbstractMethodError:
javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el
/VariableResolver;

 

The JSTL jars are in the CAS /lib directory.  The JSTL page is listed
below.

 

I converted the page to a scriptlet, but am still getting the variable
resolver error whenever I try to use the expression language, e.g.,
reference $(flowExecutionKey} from CAS.

 

<%@ page session="false" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page import="com.rs.cas.util.RSCasUtil" %>

 

<c:set var="site"
value='<%=RSCasUtil.getWebsite(request.getParameter("service"))%>'/>

 

<c:choose>

      <c:when test="${site == 'terms'}">

            <jsp:include page="casiTimeLoginView.jsp"/>

      </c:when>

      <c:otherwise>

            <c:set var="app"
value='<%=RSCasUtil.getApplication(request.getParameter("service"))%>'/>

            <c:choose>

                  <c:when test="${app == 'hmm'}">

                        <jsp:include page="casiHireLoginView.jsp"/>

                  </c:when>

                  <c:when test="${app == 'populus'}">

                        <jsp:include page="casiTrackLoginView.jsp"/>

                  </c:when>

                  <c:when test="${app == 'iris'}">

                        <jsp:include page="casiRisLoginView.jsp"/>

                  </c:when>

            </c:choose>

      </c:otherwise>

</c:choose>

 

Cliff Bryant 

 

 



This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.  This communication may contain information that is protected
from disclosure by applicable law.  If you are not the intended
recipient, or the employee or agent responsible for delivering this
communication to the intended recipient, be advised that you have
received this e-mail in error and any use, dissemination, forwarding,
printing or copying of this e-mail is strictly prohibited.  If you
believe that you have received this e-mail in error, please immediately
notify Edgewater Technology by telephone at (781) 246-3343 and delete
the communication from all e-mail files.



This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed.  This communication may contain information that is protected from disclosure by applicable law.  If you are not the intended recipient, or the employee or agent responsible for delivering this communication to the intended recipient, be advised that you have received this e-mail in error and any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.  If you believe that you have received this e-mail in error, please immediately notify Edgewater Technology by telephone at (781) 246-3343 and delete the communication from all e-mail files.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org