Hi All, I am trying to show welcome page using tiles so i am calling to call an action where the action doesn't exists (since this a feature in struts2) it thrown an error
org.apache.tiles.definition.NoSuchDefinitionException: SUCCESS can any let me know what must be the error. web.xml <listener> <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class> </listener> tiles.xml <definition name="baseLayout" template="pages/layout/baseLayout.jsp"> <put-attribute name="title" value="Template"/> <put-attribute name="header" value="/pages/common/header.jsp"/> <put-attribute name="menu" value="/pages/common/menu.jsp"/> <put-attribute name="body" value="string"/> <put-attribute name="footer" value="/pages/common/footer.jsp"/> </definition> <definition name="SUCCESS" extends="baseLayout"> <put-attribute name="title" value="Template"/> <put-attribute name="body" value="/pages/login.jsp"/> </definition> struts.xml <result-types> <result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" /> </result-types> <action name="showLogin"> <result type="tiles">SUCCESS</result> </action> -- View this message in context: http://old.nabble.com/Struts2-%3ATiles-request-page-without-action-class-tp27266243p27266243.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org