프로그래밍/Struts
[Struts2] Form action defaulting to 'action' attribute's literal value 경고 해결법
꼬렙
2011. 7. 21. 16:24
728x90
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"