Did you include the taglib reference in your JSP page? Something like this:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> Without it, the JSP can't find the custom tag and you get the behavior you're describing. Hope that helps. Chris Loschen -----Original Message----- From: robin bajaj [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 3:38 PM To: Struts Users Mailing List Subject: bean:write not displaying the intended values Hi Folks, At Struts 1.x level, I am writing the value of bean's property on a jsp page using <bean:write name="bean" property="bean-property" scope="request"/> tag , but nothing gets displayed on the web page. Infact the generated HTML (view source in the browser), shows the tag's code as-is. <bean:write name="bean" property="bean-property" scope="request"/> However, I can display the value of bean's property using a scriptlet. <%LoyaltyProfileDto loyaltyProfileDTO = (LoyaltyProfileDto)request.getAttribute("loyaltyProfileDTO"); out.println(loyaltyProfileDTO.getEMail()); %> This scriptlet works fine and displays the bean property's value correctly. I dont know what's wrong, Any ideas ? regards, - R --------------------------------------------------------------------- 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]