I got that error: "The requested resource (/myApp/) is not available."
web.xml: <context-param> <param-name>tilesDefinitions</param-name> <param-value>/WEB-INF/tiles.xml</param-value> </context-param> <filter> <filter-name>struts</filter-name> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> </filter> <filter-mapping> <filter-name>struts</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class> </listener> struts.xml <struts> <constant name="struts.i18n.reload" value="false" /> <constant name="struts.custom.i18n.resources" value="receba" /> <include file="struts-tiles.xml" /> </struts> struts-tiles.xml <struts> <package name="tiles" extends="tiles-default"> <action name="homePage" class="action.SimpleAction"> <result type="tiles">homePage.tiles</result> <result name="success" type="tiles">homePage.tiles</result> </action> <action name="login"> <result type="tiles">homePage.tiles</result> <result name="success" type="tiles">homePage.tiles</result> </action> </package> </struts> tiles.xml <tiles-definitions> <!-- Base Layout --> <definition name="baseDef.tiles" template="/layout.jsp"> <put-attribute name="menu" value="/menu.jsp" /> <put-attribute name="main" value="" /> </definition> <definition name="homePage.tiles" extends="baseDef.tiles"> <put-attribute name="main" value="/main.jsp" /> </definition> </tiles-definitions> Thanks, Rodrigo Pereira On Dec 7, 2007 11:00 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > Rodrigo > Please post the exception stack trace here, otherwise we cannot help you! > > Antonio > > 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>: > > > > > Struts actions stop working and it is not recognize by tomcat. > > > > I have the following jars: > > > > struts2-tiles-plugin-2.0.11.jar > > tiles-api-2.0.4.jar > > tiles-core-2.0.4.jar > > tiles-jsp-2.0.4.jar > > > > > > Thanks, > > Rodrigo Pereira > > > > > > On 12/6/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > > --- Rodrigo Pereira <[EMAIL PROTECTED]> wrote: > > > > I am facing an issue trying to use struts 2.0.11 + tiles. > > > > > > > > When I insert the following information in my web.xml I get an > > exception: > > > > > > > > <listener> > > > > > > > <listener-class>org.apache.struts2.tiles.StrutsTilesListener > > </listener-class> > > > > </listener> > > > > > > Any particular exception? You have the Tiles plugin? You have the Tiles > > > libraries? > > > > > > d. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]