On 13/01/2010 14:34, Roxana wrote: > Hi Mark, > > Apparently Java 5 has as well in the documentation of the ExpressionFactory > the method newInstance > http://java.sun.com/javaee/5/docs/api/javax/el/ExpressionFactory.html#ExpressionFactory()
I believe that is an error in the Java EE 5 docs. The newInstance() method was added in the first JSP 2.1 maintenance review but that review was never released. > Nevertheless , when i try to use it, the method actually is not there. As expected. > How can i use the ExpressionFactoryImpl to get the argument of type > ExpressionFactory that i need to pass it as argument to the constructor of > ExpressionEvaluatorImpl ? ExpressionFactory factory = new ExpressionFactoryImpl(); Mark > Thanks again > Regards > > Roxana > > On Wed, Jan 13, 2010 at 3:06 PM, Mark Thomas <ma...@apache.org> wrote: > >> On 13/01/2010 14:04, Roxana wrote: >>> Hi Mark, >>> >>> Thank you for your answer. You are of course perfectly right..I have >> looked >>> at the documentation of Java EE6. >>> >>> The org.apache.el.ExpressionFactoryImpl is not part of any jar files >> that >>> comes with Tomcat6...so i suppose that your suggestions is to manually >> copy >>> the commons-el.jar into the lib directory of Tomcat??? >> >> No. The class is in jasper-el.jar. >> >> Mark >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org