티스토리 뷰
프로그래밍/Struts
[Struts2] Form action defaulting to 'action' attribute's literal value 경고 해결법
꼬렙 2011. 7. 21. 16:24728x90
20XX. XX. XX 오후 XX:XX:XX com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
경고: No configuration found for the specified action: 'xxxx.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
아래 코드처럼 실행시키면 이런 경고 메세지가 뜬다
아래 코드처럼 실행시키면 이런 경고 메세지가 뜬다
<s:form name="frm" method="post" action="/프로젝트명/write.action" enctype="multipart/form-data">
<table border="1" width="300">
......내용 생략......
......내용 생략......
</table>
</s:form>
이럴때는 이렇게 수정해주면 된다 ===> action="write"
이럴때는 이렇게 수정해주면 된다 ===> action="write"
'프로그래밍 > Struts' 카테고리의 다른 글
[Struts2] 파일 업로드 (0) | 2011.07.22 |
---|---|
[Struts2] HTTP Status 404 - No result defined for action Struts_MVC.WriteAction and result input (0) | 2011.07.22 |
[Struts2] 액션 클래스 간의 데이터 주고 받기 (0) | 2011.07.20 |
[Struts2] The Struts dispatcher cannot be found 오류 해결 (0) | 2011.07.20 |
[Struts2] 한글 깨짐 해결 (0) | 2011.07.18 |