프로그램 사용/struts2 tiles

struts2 / tiles 연동시 에러

구차니 2014. 5. 16. 17:26
스트럿츠2에 타일스를 연동하려는데 계속 에러가 나서 멘붕 -_-
XML 상으로는 문제가 없지만 action 이나 success에 연결되는 놈이 없다고 난리핀다 -_-
심각: Exception starting filter struts2
Error building results for action indexAction in namespace  - action - file:/D:/monk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/struts2_board/WEB-INF/classes/struts.xml:8:56

Caused by: There is no result type defined for type 'tiles' mapped with name 'success' - result - file:/D:/monk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/struts2_board/WEB-INF/classes/struts.xml:9:25 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>
<package name="board" extends="struts-default, tiles-default">
<action name="indexAction" class="board.indexAction">
<result type="tiles">home</result>
</action>
</package>
</struts>


스트럿츠2+타일스 통합글을 보다보니 헐...
ㅋㅋㅋㅋ
ㅋㅋㅋㅋ

struts2-core-2.0.14.jar
struts2-tiles-plugin-2.0.8.jar <<<

스트럿츠2-타일스 연동을 위해서는 플러그 인 이 추가되어야 하는데
해당 jar 파일을 넣지 않았으니.. 될리가 있나 -_-a

[링크 : http://thinkingblog.tistory.com/19