Home > front end >  About the use of el expression for packaging to map the class attribute values
About the use of el expression for packaging to map the class attribute values

Time:09-16

This is the front output data


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 body

CodePudding user response:

reference 1st floor asd105574 response:
the userbean be covered because of you, put the userbean the userbean=new the userbean (); In the while loop in the

Thank you thank you, every detail decision problem, thank you very much!!!!!!

CodePudding user response:

If the problem has been solved, please timely knot MHKG. Community thank you for your work
  • Related