net.sourceforge.stripes.validation.expression
Class Jsp20ExpressionExecutor
java.lang.Object
net.sourceforge.stripes.validation.expression.ExpressionExecutorSupport
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jsp20ExpressionExecutor
public Jsp20ExpressionExecutor()
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.