Hi,

I have been working on struts a few days ago, I have
been trying to develop ordering system using struts.

I already have four Java Bean to represent an Order,
which contains OrderHeader and OrderDetail, and within
OrderDetail there will be collection of
OrderLineDetail, pls refer to below for detail,


public class Order implements Serializable {
  private OrderHeader=null;
  private OrderDetail=null;
  //other attributes and methods
}

public class OrderHeader implements Serializable {

//attributes and methods
}

public class OrderDetail implments Serializable {
  private OrderLineDetail[] orderlines=new
Hashtable();
  //other attributes and methods
}

public class OrderLineDetail implements Serializable {
  //methods and attributes

}

Based on the above design, how will it fit into struts
framework? 

I have been trying to use <logic:iterate>, seems that
it won't work.

Hope some expert can throw some light on me.

thanks!



__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send dad a Father's Day Card!
http://greetings.yahoo.com.sg/

Reply via email to