list edulist = Userbourdservice.eduboardlist (adveducation); />
Код: Выделить всё
if ( eduList != null && !eduList.isEmpty() ) {
for ( BoardEducation eduboardread : eduList ) {
List storageList =
storageService.fileInformationList("EDUCATION_IMAGE", eduboardread.getBoardNo(), true);
if ( storageList != null && !storageList.isEmpty() ) {
eduboardread.setBoardAttachList(storageList);
}
}
}
}else if ("education".equals(boardType.getCode()) && boardTemplate.getBoardTemplateNo().equals("16")){
List eventList = userBoardService.eventBoardList(boardeducation);
model.addAttribute("eventList", eventList);
if ( eventList != null && !eventList.isEmpty() ) {
for ( BoardEducation eduboardread : eventList ) {
List storageList =
storageService.fileInformationList("EDUCATION_IMAGE", eduboardread.getBoardNo(), true);
if ( storageList != null && !storageList.isEmpty() ) {
eduboardread.setBoardAttachList(storageList);
}
}
}
전체 $ {fn: длина (эдулист)} 건
">
${edu.deleteYn eq 'N' ? '진행중' : '마감'}
< /code>
Слои Mapper, DAO, Service и Controller работают правильно. В JSP текст отображается, но изображения не отображаются.
Подробнее здесь: https://stackoverflow.com/questions/797 ... -t-loading