This is database operation, to meet the conditions there are three data
The database data
The results
Q: why is the data output of the three name is sun jia jia, rather than Li Hu, sun jia jia, and that the code? . But if I use the map key can output keys 1, 2, 3, your brother is there any way to encapsulate to map the class attribute value in the JSP page to retrieve? The younger brother of course design, the day did not solve, on a lot of methods of ambiguous, baidu for help our kid with you here, thank you!!!!!!!!!!
CodePudding user response:
Because you are the userbean is covered, the userbean the userbean=new the userbean (); In the while loop in the bodyCodePudding user response: