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]