struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Kuzmin" <kuz...@soft-ukraine.com>
Subject Modules and Tiles: Problem
Date Mon, 09 Dec 2002 17:12:12 GMT
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,contextRelat
ive=
false])

But i am expecting TilesRequestProcessor.

--
Andrew Kuzmin



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message