I'm assuming by that comment that you didn't understand what I said.

Struts-EL is intended to be used with JSP 1.2 containers.  You don't
need to use it with JSP 2.0 containers, as the expression language is
used natively in the JSP 2.0 compiler.  In fact, if you try to use
Struts-EL with a JSP 2.0 container, it just won't work.  Just use Struts
by itself in a JSP 2.0 container and all the tags can use the EL (for
attributes that have "rtexprvalue" set to "true").

> -----Original Message-----
> From: Pedro Salgado [mailto:[EMAIL PROTECTED] 
> 
> On 20/9/04 10:11 pm, "Karr, David" <[EMAIL PROTECTED]> wrote:
> 
> > Other replies indicated your problem with the web.xml and JSP page. 
> > Another point is that you don't use Struts-EL with JSP 2.0.
> 
>   well I finally made a simple jsp page with EL to work and 
> everything well configured... but for what you wrote it was a 
> waste of time. whatever!
> 
> > 
> >> -----Original Message-----
> >> From: Pedro Salgado [mailto:[EMAIL PROTECTED]
> >> Sent: Monday, September 20, 2004 10:07 AM
> >> To: [EMAIL PROTECTED]
> >> Subject: standard-1.1.1 expression language not working
> >> 
> >> 
> >> Hi to everyone!
> >> 
> >>   I have already used taglibs before but I am having some trouble 
> >> making jstl core 1.1.1 taglib to evaluate expression languages on 
> >> Tomcat 5.0.27.
> >> 
> >>   I have all of the required libraries on WEB-INF/lib/ (jstl, 
> >> standard, jdbc_2_0_stdext, xalan and xerces).
> >>   Tomcat does not give any missing taglib handler... so I 
> supposed it 
> >> finds all of the necessary classes.
> >>   I am also using Struts and Struts-el taglibs and they 
> are working 
> >> correctly.
> >> 
> >>   Am I missing something?
> >> 
> >> 
> >>   my jsp file:
> >> 
> >> 
> >> <%@ taglib uri="/WEB-INF/tld/struts-html-el.tld"
> >> prefix="html" %> <%@ taglib uri="/WEB-INF/tld/struts-logic.tld" 
> >> prefix="logic" %> <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" 
> >> prefix="bean" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt";
> >> prefix="fmt" %> <%@ taglib
> >> uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> <%@
> >> taglib uri="/WEB-INF/tld/struts-tiles.tld" prefix="tiles" %>
> >> <%@ taglib uri="/WEB-INF/tld/struts-tiles-el.tld" 
> prefix="tiles-el" %>
> >> 
> >> ...
> >> 
> >> <c:set var='a'>1</c:set><c:out value='${a}'/> (the output is ${a})
> >> 
> >> ...
> >> 
> >> 
> >> 
> >> 
> >>   my web.xml, taglib declaration:
> >> 
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-html.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-html-el.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-html-el.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-logic.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-logic-el.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-logic-el.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-bean.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-bean-el.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-bean-el.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-tiles.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-tiles.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/struts-tiles-el.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/struts-tiles-el.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
> >>         
> <taglib-location>/WEB-INF/tld/fmt-1.1.1.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
> >>         <taglib-location>/WEB-INF/tld/c-1.1.1.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/displaytag-el-12.tld</taglib-uri>
> >>         
> >> 
> <taglib-location>/WEB-INF/tld/displaytag-el-12.tld</taglib-location>
> >>     </taglib>
> >> 
> >>     <taglib>
> >>         <taglib-uri>/WEB-INF/tld/displaytag-12.tld</taglib-uri>
> >>         
> >> <taglib-location>/WEB-INF/tld/displaytag-12.tld</taglib-location>
> >>     </taglib>
> >> 
> >> 
> >> 
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: 
> [EMAIL PROTECTED]
> >> 
> >> 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to