0
I am initiating into Java Web, developing a stock system following Caelum’s Java for Web workbook.
The whole front-end
and the persistence layer have already been developed leaving only the control integrating the two, however I am with many doubts when it comes to get the data of the page to treat them, insert in the bank and etc...
For example on the page below, I have the Send Form, according to what the apostille teaches I have to keep the fields named according to the corresponding attributes of the Send class, until then quiet, the problem is that inside the form I have a sub form that corresponds to the class ItemEnvio
and a table, where I can insert several items.
My goal is to fill a ArrayList
with the items added in this table and the data from the top of the form in a Submit object, send both to controller
and it add in the database, is the logic that I use when developing in Java
using Swing
with JTable
and etc..
Can someone give an orientation on how to proceed?
Place the JSP/Html code.
– Giuliana Bezerra