Hi,  Cedric

----- Original Message -----
From: "Cedric Dumoulin" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 10:19 PM
Subject: Re: Modules and Tiles: Problem
>
>   Hi,
>
>   Is there any errors regarding Tiles in the Tomcat console (you may
> need to enable logging for Tiles) ?
>
>    Cedric
>
I didn't see any errors in the Tomcat console. I enabled logging for Tiles.
I just have downloaded new version (jakarta-struts-20021209) and I don't
have this problem.
Previous version was jakarta-struts-20021114.

> Andrew Kuzmin wrote:
>
> >I have two modules:
> >
> >A) struts-config.xml:
> >
> >    <plug-in className="org.apache.struts.tiles.TilesPlugin">
> >        <set-property property="definitions-config"
> >            value="/WEB-INF/conf/tiles-defs.xml,
> >                   /WEB-INF/conf/tiles-defs-personalize.xml"/>
> >        <set-property property="moduleAware" value="true" />
> >    </plug-in>
> >
> >B) struts-config-personalize.xml:
> >
> >    <action-mappings>
> >
> >        <action path="/Courses" type="XXX.actions.CoursesActions">
> >            <forward name="success" path="personalize.courses.default" />
> >        </action>
> >
> >    </action-mappings>
> >
> >    <plug-in className="org.apache.struts.tiles.TilesPlugin">
> >        <set-property property="definitions-config"
> >            value="/WEB-INF/conf/tiles-defs.xml,
> >                   /WEB-INF/conf/tiles-defs-personalize.xml" />
> >        <set-property property="moduleAware" value="true" />
> >    </plug-in>
> >
> >When i attempt to invoke http://XXX/personalize/Courses.do i have Error
404
> >and on Tomcat console i see :
> >
> >DEBUG [Thread-14] (RequestUtils.java:1446) - Get module name for path
> >/personali
> >ze/Courses.do
> >DEBUG [Thread-14] (RequestUtils.java:1468) - Module name found:
/personalize
> > INFO [Thread-14] (RequestProcessor.java:225) - Processing a 'GET' for
path
> >'/Co
> >urses'
> >DEBUG [Thread-14] (RequestProcessor.java:305) -  Looking for Action
instance
> >for
> > class XXX.actions.CoursesActions
> >DEBUG [Thread-14] (RequestProcessor.java:314) -   Returning existing
Action
> >inst
> >ance
> >DEBUG [Thread-14] (RequestProcessor.java:428) -
> >processForwardConfig(ForwardConf
>
>ig[name=success,path=personalize.courses.default,redirect=false,contextRela
t
> >ive=
> >false])
> >
> >But i am expecting TilesRequestProcessor.
> >
> >--
> >Andrew Kuzmin
> >

--
Andrew Kuzmin



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

Reply via email to