Author: markt
Date: Fri Jan 1 18:22:36 2010
New Revision: 895045
URL: http://svn.apache.org/viewvc?rev=895045&view=rev
Log:
Add some missing deprecation markers
Modified:
tomcat/trunk/java/javax/servlet/jsp/JspContext.java
Modified: tomcat/trunk/java/javax/servlet/jsp/JspContext.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/JspContext.java?rev=895045&r1=895044&r2=895045&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/JspContext.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/JspContext.java Fri Jan 1 18:22:36 2010
@@ -217,6 +217,8 @@
abstract public JspWriter getOut();
/**
+ * @deprecated As of JSP 2.1, replaced by
+ * JspApplicationContext.getExpressionFactory()
* Provides programmatic access to the ExpressionEvaluator.
* The JSP Container must return a valid instance of an
* ExpressionEvaluator that can parse EL expressions.
@@ -224,12 +226,17 @@
* @return A valid instance of an ExpressionEvaluator.
* @since 2.0
*/
+ @Deprecated
public abstract ExpressionEvaluator getExpressionEvaluator();
public abstract ELContext getELContext();
/**
+ * @deprecated As of JSP 2.1,
+ * replaced by javax.el.ELContext.getELResolver()
+ * which can be obtained by
+ * jspContext.getELContext().getELResolver()
* Returns an instance of a VariableResolver that provides access to the
* implicit objects specified in the JSP specification using this
JspContext
* as the context object.
@@ -237,6 +244,7 @@
* @return A valid instance of a VariableResolver.
* @since 2.0
*/
+ @Deprecated
public abstract VariableResolver getVariableResolver();
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]