well can you tell how transfer a List eg. created as
from bean to jsp or from bean to bean or from jsp call to bean, and appear contents on screen or populate a Table(db) ?
In a Shopping cart web app I must add lineItems first and after Order, to Tables in DB: LineItems and Orders respectively?
posted 6 years ago
subject: List object data appear in jsp(view) or enter in db-table(model) like cartItems in cart
in a for body that executes a query like above:
must appear outside loop? is this above correct?
2)Q:List object data appear in jsp(view) or enter in db-table(model) like cartItems in cart
When I have a List obj contains cartItems objects (eg shopping cart) already populated in a javabean, and want to appear this data to the next jsp file(view) and then enter them in database table via next confirm.jsp that use a process bean(model), what to do to transfer this List Object?