-
Urgent Help needed!
i retrieve data from database using hibernate, now i wan to change the List retrive and wrap it with other variable..
i got 3 different classes,
how to get the list out and merge it with a variable name "selected" and pass the value to a variable name "ResumeInfoTesting" in strutsAssignloginuploadresumeForm?
--------------------------------------------------------------
strutsAssignloginuploadresumeForm viewresumeform = (strutsAssignloginuploadresumeForm) actionForm;
ResumeInfo resumeinfo = new ResumeInfo();
List eventList = ResumeDAO.getAllResume();
List result = new ArrayList();
for (int i = 0; i < eventList.size(); i++) {
resumeinfo.setResume(eventList.get(i));
resumeinfo.setSelected(false);
result.add(resumeinfo);
viewresumeform.setResumeInfoTesting(result);
System.out.println(resumeinfo);
}
-------------------------------------------------------------------
Thanks and help please! im new to this