전자정부프레임워크

전자정부프레임워크 4.1 멀티미디어 등록 대상 조회시 /cmm/fms/selectFileInfs.do]은(는) 가용하지 않습니다. (목록, 조회, 수정, 삭제 시 에러.)

gold99 2025. 1. 29. 22:37

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. 정상으로 조회, 수정 가능하다.