게시물 등록관련 문의드립니다.
- 작성자 :
- 이*순
- 작성일 :
- 2010-02-22 13:19:07
- 조회수 :
- 4,787
- 구분 :
- 공통컴포넌트
- 진행상태 :
- 완료
Q
게시물 관리 Controller에 등록 메소드 호출후 마지막 리턴값으로
return "forward:/cop/bbs/selectBoardList.do";
이렇게 호출하는데요
목록화면으로 이동하지 않고 아래와 같은 메시지만 콘솔에 나옵니다.
DEBUG: org.springframework.web.servlet.DispatcherServlet - Rendering view [org.springframework.web.servlet.view.InternalResourceView: unnamed; URL [/cop/bbs/selectBoardList.do]] in DispatcherServlet with name 'Spring MVC Dispatcher Servlet'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'org.springframework.validation.BindingResult.bdMstr' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'org.springframework.validation.BindingResult.board' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'bdMstr' of type [egovframework.com.cop.bbs.service.BoardMaster] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'searchVO' of type [egovframework.com.cop.bbs.service.BoardVO] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'board' of type [egovframework.com.cop.bbs.service.Board] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'org.springframework.validation.BindingResult.searchVO' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Forwarding to resource [/cop/bbs/selectBoardList.do] in InternalResourceView 'null'
DEBUG: org.springframework.web.multipart.commons.CommonsMultipartResolver - Cleaning up multipart file [file_0] with original filename [], stored in memory
DEBUG: org.springframework.web.servlet.DispatcherServlet - Successfully completed request
return "forward:/cop/bbs/selectBoardList.do";
이렇게 호출하는데요
목록화면으로 이동하지 않고 아래와 같은 메시지만 콘솔에 나옵니다.
DEBUG: org.springframework.web.servlet.DispatcherServlet - Rendering view [org.springframework.web.servlet.view.InternalResourceView: unnamed; URL [/cop/bbs/selectBoardList.do]] in DispatcherServlet with name 'Spring MVC Dispatcher Servlet'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'org.springframework.validation.BindingResult.bdMstr' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'org.springframework.validation.BindingResult.board' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'bdMstr' of type [egovframework.com.cop.bbs.service.BoardMaster] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'searchVO' of type [egovframework.com.cop.bbs.service.BoardVO] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'board' of type [egovframework.com.cop.bbs.service.Board] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Added model object 'org.springframework.validation.BindingResult.searchVO' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'null'
DEBUG: org.springframework.web.servlet.view.InternalResourceView - Forwarding to resource [/cop/bbs/selectBoardList.do] in InternalResourceView 'null'
DEBUG: org.springframework.web.multipart.commons.CommonsMultipartResolver - Cleaning up multipart file [file_0] with original filename [], stored in memory
DEBUG: org.springframework.web.servlet.DispatcherServlet - Successfully completed request
A
안녕하세요.. 이윤순님..
올려주신 로그상에는 debug성 정보만 있고 오류에 대한 내용이 없어 정확한 원인 파악이 어려울 것 같습니다..
로그의 마지막 부분의 Forwarding to resource
[/cop/bbs/selectBoardList.do].. 도 정상적으로 forward인 된 것으로 판단됩니다.
혹.. /cop/bbs/selectBoardList.do의 경우 게시판에 대한 목록을 표시하는 화면으로 파라미터로 bbsId와 bbsAttrbCode가 필요한데.. 이 값이 빠졌을 가능성도 있을 것 같습니다..
추가적으로 목록화면으로 이동하지 않는다고 하셨는데.. 화면에 오류가 발생하는 상황인지.. 정보 구체적인 정보를 올려주셨으면 합니다.
그럼.. 즐거운 하루되십시오.
감사합니다.
올려주신 로그상에는 debug성 정보만 있고 오류에 대한 내용이 없어 정확한 원인 파악이 어려울 것 같습니다..
로그의 마지막 부분의 Forwarding to resource
[/cop/bbs/selectBoardList.do].. 도 정상적으로 forward인 된 것으로 판단됩니다.
혹.. /cop/bbs/selectBoardList.do의 경우 게시판에 대한 목록을 표시하는 화면으로 파라미터로 bbsId와 bbsAttrbCode가 필요한데.. 이 값이 빠졌을 가능성도 있을 것 같습니다..
추가적으로 목록화면으로 이동하지 않는다고 하셨는데.. 화면에 오류가 발생하는 상황인지.. 정보 구체적인 정보를 올려주셨으면 합니다.
그럼.. 즐거운 하루되십시오.
감사합니다.