el in JSTL / JSP 2.0

2004-07-29 Thread Paul Wallace
Hi, I am trying to introduce JSP 2 with Tomcat 5 (full source below), and thus experimenting with the JSTL expression language in JSP tag files (.tag). I am bemused as to why I cannot embed the expression language within a JSTL tag thus: c:forEach begin=${a} end=${b}

RE: el in JSTL / JSP 2.0

2004-07-29 Thread Paul Wallace
Hi, Tbanks for that. I was using the 2.4 schema: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 And tried

RE: el in JSTL / JSP 2.0

2004-07-29 Thread Paul Wallace
Hi, It took me a while to get IJ/Jboss3.2.5(tomcat5)/JDK1.5 working but the above finally rendered jstl 1.1 ${2+2} without using c:out value=${2+2}/ That is what I am trying to do, embed some el in my JSTL (two int attributes passed into my tag, and the tag then iterates for the

RE: passing JSTL to custom tag attribute

2004-05-13 Thread Paul Wallace
Hi thanks for that, I am using Tomcat 4.1..? On first inspection I see that the Struts implements JSTL libraries such as javax.servlet.jsp.tagext.TagSupport. I am extending the likes of TagSupport / BodyTagSupport etc. Short of extending the Struts EL taglib's, I don't see what

passing JSTL to custom tag attribute

2004-05-12 Thread Paul Wallace
Hi, I wish to call a custom tag, passing a dynamic value for its attribute. I retrieve the value thus: c:set var=userid value=${param.userid}/ and I wish to call my custom tag passing 'userid' as an attribute. Curently I have: my:execute userid=${userid} but the literal string