I'm sure I could look this up myself, but it might be nice to have it in the archives with this thread.
Which jar is needed if I want to add EL to my taglib. Without having to include the whole JSTL implementation? Hen On Wed, 21 Aug 2002, Shawn Bayern wrote: > On Wed, 21 Aug 2002, Mark R. Diggory wrote: > > > On another note, I've been playing around with Taglibraries for some > > time now. I'd like to integrate the EL Engine into my libraries, from > > what I understand it is now going to be part of the JSP 2.0 spec as > > well. How might I go about integrating it into my Taglibraries? > > JSP 2.0 makes the interface standard; with JSP 1.2 and JSTL 1.0, you need > to use the custom interface supported by whichever implementation you > choose (e.g., the Standard Taglib). > > > I've seen examples like the following, is this really all I need to > > do? > > > > import org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager; > > Object obj = ExpressionEvaluatorManager.evaluate( > > attName, attValue, clazz, this, pageContext); > > Looks good to me. The JSP 2.0 API will be a little more complex, but > that's a tradeoff for it's vastly superior generality: it allows for use > of the EL even beyond JSP pages. (And some extra baggage is necessary to > support JSP 2.0's notion of 'EL functions', which was added after JSTL > 1.0.) > > -- > Shawn Bayern > "JSTL in Action" http://www.jstlbook.com > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>