Topic: Mass updation
Have we had the possibility of mass updation ?
I had a table like this:
————————————–
Name | Score
————————————–
Bui | 4
————————————–
Anh | 5
————————————–
Khoa | 3
————————————–
Usually, I update the data which has the score under 5 as below:
Name: Bui
Score: 4
2ndScore: <html:text property=”2ndScore” />
<html:submit />
There are inconveniences in updating, because, I must do that for 2 times. I do it by the different way: show all recoreds which have the score under 5 in the the view.jsp.
—————————————————————————-
Name 1stScore 2nd Score —————————————————————————-
Bui 4 : [<html:text>]
Khoa 3 : [<htmlt:text >]
<html:submit />]
I wanna update the 2ndScore to the database for 2 rows instead of only one row. The [<html:text>] will be created based on the total of 1stScore fields. Obviously, I don’t know the property of form bean. So, how can I define [<html:text>] in the form bean that should return? And the code of the servlet?
Is this idea only feasible in ASP.NET?
Please reply me, thank!