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???
Thanks
Regards
Roxana

On Wed, Jan 13, 2010 at 2:54 PM, Mark Thomas <ma...@apache.org> wrote:

> On 13/01/2010 12:23, Roxana wrote:
> > I have looke din the documentation of the *ExpressionFactory *:
> > http://java.sun.com/javaee/6/docs/api/javax/el/ExpressionFactory.html
> > and i decided to use the method
> > newInstance<
> http://java.sun.com/javaee/5/docs/api/javax/el/ExpressionFactory.html#newInstance%28%29
> >
> > ()  Surprisingly enough i get the error message:
> >
> > The method newInstance() is undefined for the type ExpressionFactory
> >
> > Do you have any idea why this method is not available?
>
> You are looking at the Java EE 6 docs. Tomcat 6 supports Servlet 2.5 and
> JSP 2.1 which is Java EE 5. That method was added for JSP 2.2. That
> means you'll need Tomcat 7, which is close to a first release.
>
> > Can you give me some ideas about how to create an argument
> ExpressionFactory
> > for the constructor  of ExpressionEvaluatorImpl ?
>
> The easiest way to do this in Tomcat 6 is to do create an instance of
> org.apache.el.ExpressionFactoryImpl
>
> HTH,
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to