net.sourceforge.stripes.validation.expression
Class Jsp20ExpressionExecutor

java.lang.Object
  extended by net.sourceforge.stripes.validation.expression.ExpressionExecutorSupport
      extended by net.sourceforge.stripes.validation.expression.Jsp20ExpressionExecutor
All Implemented Interfaces:
ExpressionExecutor

public class Jsp20ExpressionExecutor
extends ExpressionExecutorSupport

An implementation of ExpressionExecutor that uses the container's built in JSP2.0 EL implementation. This requires that the DispatcherServlet allocates a PageContext object earlier in the request cycle in order to gain access to the ExpressionEvaluator. This can cause problems in some containers.

Since:
Stripes 1.5
Author:
Tim Fennell

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sourceforge.stripes.validation.expression.ExpressionExecutorSupport
ExpressionExecutorSupport.BeanVariableResolver
 
Field Summary
 
Fields inherited from interface net.sourceforge.stripes.validation.expression.ExpressionExecutor
ERROR_DEFAULT_SCOPE, ERROR_KEY, THIS
 
Constructor Summary
Jsp20ExpressionExecutor()
           
 
Method Summary
protected  ExpressionEvaluator getEvaluator()
          Attempts to get the PageContext object stashed away in the DispatcherHelper and use it to generate an ExpressionEvaluator.
 
Methods inherited from class net.sourceforge.stripes.validation.expression.ExpressionExecutorSupport
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jsp20ExpressionExecutor

public Jsp20ExpressionExecutor()
Method Detail

getEvaluator

protected ExpressionEvaluator getEvaluator()
Attempts to get the PageContext object stashed away in the DispatcherHelper and use it to generate an ExpressionEvaluator.

Specified by:
getEvaluator in class ExpressionExecutorSupport
Returns:
an ExpressionEvaluator if possible, or null otherwise


? Copyright 2005-2006, Stripes Development Team.