Hi flare, It doesn't work for me. I'm getting error
org.apache.jasper.JasperException: An error occurred while evaluating custom action attribute "value" with value "${flare.ciccio}": Unable to find a value for "ciccio" in object of class "org.apache.commons.beanutils.BasicDynaBean" using operator "." (null). My environment: Tomcat 4.1.12 Jakarta JSTL: Nightly build. Thanks Deepak -----Original Message----- From: flare [mailto:flare@;flare.it] Sent: Tuesday, October 29, 2002 4:48 AM To: Struts Users Mailing List Subject: RE: [JSTL] c:out and DynaBeanClass > > JSTL supports dynabeans transparently > > Could you please supply a scenario and sample code that proves this? well.. I thought dynabeans were supported cause I'm using them without problem, since in the JSTL ML told me the full support will be added in the 2.x release I can at least say the OUT and various FMT tags work fine with them <%@ page language="java" import="org.apache.commons.beanutils.*" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <% DynaProperty[] props = new DynaProperty[2]; BasicDynaClass dClass = null; props[0] = new DynaProperty("ciccio"); props[1] = new DynaProperty("pippo"); try {dClass = new BasicDynaClass("flare", Class.forName("org.apache.commons.beanutils.BasicDynaBean"), props); } catch (Exception e) { e.printStackTrace(); } DynaBean dbean = dClass.newInstance(); dbean.set("ciccio","uno"); dbean.set("pippo","due"); pageContext.setAttribute("flare",dbean); %> <c:out value="${flare.ciccio}"/> <%=((DynaBean)pageContext.getAttribute("flare")).get("pippo")%> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>