Hello,
I have a jsp file. An array (generated from a database) is printed on the screen.
Next to each element, there are two arrows (up and down). The user can move up/down an element from the list.
By doing this, two things must happen:
- The elements are moved on the screen (I can do that)
- The database must be updated in order to reflect the changes (the table is sorted by entry_order.... and the entry_order has been modified).
how can I do it?
In the jsp file, I have a bean defined where I have my database operations.
Thanks for your help.
I have a jsp file. An array (generated from a database) is printed on the screen.
Next to each element, there are two arrows (up and down). The user can move up/down an element from the list.
By doing this, two things must happen:
- The elements are moved on the screen (I can do that)
- The database must be updated in order to reflect the changes (the table is sorted by entry_order.... and the entry_order has been modified).
how can I do it?
In the jsp file, I have a bean defined where I have my database operations.
Thanks for your help.