Not according to the Struts User Guide, i.e.: http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_tagl ib
<!-- Struts Tag Library Descriptors --> <taglib> <taglib-uri>/tags/struts-bean</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> -----Original Message----- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 9:54 AM To: 'Struts Users Mailing List' Subject: RE: <bean:write> not writing? hi, it must end with .tld <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> and place the file in /WEB-INF -----Original Message----- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 3:52 PM To: Struts Users Mailing List Subject: Re: <bean:write> not writing? Aren't tags usually in /WEB-INF? On 27 Dec 2003, at 14:57, Michael Marrotte wrote: > <%@ taglib uri="/tags/struts-bean" prefix="bean" %> > > is at the top of the JSP file and other <bean:write> tags are working > in the > same page... > > -----Original Message----- > From: Sharad Acharya [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 27, 2003 9:48 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: <bean:write> not writing? > > > Michael; > Did you forget to specify the taglib directive for bean:write tag > library in > your JSP? In such case, have following in your JSP. > > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > > Hope this helps. > Sharad > > > > >> From: "Michael Marrotte" <[EMAIL PROTECTED]> >> Reply-To: <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Subject: <bean:write> not writing? >> Date: Sat, 27 Dec 2003 08:51:18 -0500 >> >> Here's the bean: >> >> public class Cart extends HashMap { >> private double subTotal = 400.00; >> public double getSubTotal(){return subTotal;} >> } >> >> >> Here's the Java: >> >> session.setAttribute("cart", new Cart()); >> >> >> Here's the JSP >> >> <bean:write name="cart" property="subTotal"/> // no output? <%= >> ((csp.Cart)session.getAttribute("cart")).getSubTotal() %> // works, >> writes 400.0 >> >> >> Here's the problem >> >> <bean:write> isn't producing any output, but >> >> <%= ... %> is... >> >> Any ideas are greatly appreciated. >> >> Thanks, >> >> --Mike M. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > _________________________________________________________________ > Tired of slow downloads? Compare online deals from your local > high-speed > providers now. https://broadband.msn.com > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]