Hi, I am quite new to struts, now I have a session bean of type Customers and I would like to display all the fields for this Customer. I thought I can do it the following way, but I keep getting errors ("Attribute aCustomer has no value"):
<jsp:useBean id="aCustomer" scope="session" class="com.pioneer.sales.businessobjects.samples.Customers"/> I can display it with the following way: <html:text property="customerID" value="<%=aCustomer.getCustomerID()%>" size="16" maxlength="16"/> but I thought I can use the following way to do it, but error comes: <html:text property="customerID" value="<bean:write name="aCustomer" property="customerID"/>" size="16" maxlength="16"/> What I did is wrong here? Any help is appreciated. Yanhui -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>