*bump* :(

Craig W. Tataryn

From: "Craig Tataryn" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: [Tiles] tiles controller not processing tiles request
Date: Fri, 12 Dec 2003 13:14:18 -0600

Ok, downloaded the Struts code, and set a breakpoint in TilesRequestProcessor.init(...). The breakpoint never catches when Tomcat starts or when I request a my welcome page, but when I shut down Tomcat it does!

Anyone know why?

Craig.

Craig W. Tataryn

From: "Craig Tataryn" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: [Tiles] tiles controller not processing tiles request
Date: Fri, 12 Dec 2003 11:54:26 -0600

Note: In the error message listed below replace "aclpo" with "mywebapp"

Craig

Craig W. Tataryn

From: "Craig Tataryn" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Tiles] tiles controller not processing tiles request
Date: Fri, 12 Dec 2003 11:52:02 -0600

Hey guys, I have the following in my struts-config.xml:

<global-forwards>
 <forward name="welcome" path="mainLayout.welcome"/>
</global-forwards>

<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>

<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
<set-property property="moduleAware" value="true"/>
<set-property property="definitions-parser-validate" value="true"/>
</plug-in>



My tiles-defs.xml file looks like this:


<tiles-definitions>

 <definition name="mainLayout" path="/html/mainLayout.jsp">
   <put name="header" value="/html/header.jsp" />
   <put name="left"   value="" />
   <put name="main"   value="" />
   <put name="footer" value="/html/footer.jsp" />
 </definition>

 <definition name="mainLayout.welcome" extends="mainLayout">
   <put name="body" value="Welcome.do?dispatchAction=initialize"/>
 </definition>
</tiles-definitions>

Now, when I goto http://localhost:8080/mywebapp/ the "welcome" forward is invoked which is supposed to forward to the "mainLayout.welcome" definition. However Tomcat comes back with a "HTTP Status 404 - /aclpo/mainLayout.welcome - The requested resource (/mywebapp/mainLayout.welcome) is not available"

Any ideas what might be happening?

Thanks,

Craig W. Tataryn

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/photos&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/photos&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to