Is it possible to pass a java object to a bean using setter method through a JSP page? <jsp:useBean id="cashier" scope="page" class="cart.Cashier" /> <jsp:setProperty name="cashier" property="cart" param="cart" /> I am trying to accomplish this using the above code in a JSP page and I get the following error on JSWDK:1.0.1: JspException: setProperty: variable of Class: class cart.ShoppingCart can't be set.
Author and all-around good cowpoke
posted 14 years ago
I don't think setProperty works that way. Why not just write the normal Java code to pass the object? Bill