1) context-aspect.xml 추가
<aop:config>
<aop:pointcut id="egov.serviceMethod" expression="execution(* egovframework.com..impl.*Impl.*(..)) or
execution(* egovframework.cmm..impl.*Impl.*(..)) or
execution(* egovframework.mbl..com..*Impl.*(..))" />
2) EgovMultimediaController.java RequestMapping(.mdo) 추가
( /프로젝트/src/main/java/egovframework/mbl/com/mlt/web/EgovMultimediaController.java )
2-0 ) 등록 확인.
@RequestMapping(value = "/mbl/com/mlt/insertMultimedia.mdo")
public String insertMultimedia()
2-1 ) 조회 추가.
// @RequestMapping("/cmm/fms/selectFileInfs.do") // 수정
@RequestMapping(value = "/mbl/com/mlt/selectFileInfs.mdo")
public String selectFileInfs(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam Map<String, Object> commandMap, ModelMap model) throws Exception {}
2-2 ) 수정 추가.
//@RequestMapping("/cmm/fms/selectFileInfsForUpdate.do") // 수정
@RequestMapping(value = "/mbl/com/mlt/selectFileInfsForUpdate.mdo")
public String selectFileInfsForUpdate()
3. EgovMultimediaDetail.jsp 수정
(/프로젝트/src/main/webapp/WEB-INF/jsp/egovframework/mbl/com/mlt/EgovMultimediaDetail.jsp)
<c:if test="${result.atchFileId != ''}">
<tr>
<th width="20%" height="23" class="required_text" nowrap >멀티미디어 파일 </th>
<td colspan="6">
<c:import url="/cmm/fms/selectFileInfs.mdo"> <!-- 수정전 /cmm/fms/selectFileInfs.do -->
<c:param name="param_atchFileId" value="${result.atchFileId}"/>
</c:import>
</td>
</tr>
</c:if>
4. 정상으로 조회, 수정 가능하다.
'전자정부프레임워크' 카테고리의 다른 글
전자정부프레임워크 4.1 멀티미디어 등록시 에러 발생 (0) | 2025.01.29 |
---|