Hi, please complete my configuration file for multiple module.

I have now 2 struts-config.xml
And the link in my tiles-def.xml doesn't work, why? ############## In
web.xml ##############
        <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        <init-param>
                <param-name>config/project</param-name>
        
<param-value>/WEB-INF/struts-config-project.xml</param-value>
        </init-param>
##############
In tiles-def.xml
##############
<definition name="site.menu.managers"
path="/WEB-INF/jsp/layouts/menu.jsp" >
  <put name="title" value="Useful Links" />
    <putList name="items" >
      <item value="Projects" 
                        link="/project/manager.do" 
        
classtype="org.apache.struts.tiles.beans.SimpleMenuItem" />     
    </putList>
</definition>

##############
In struts-config-project.xml
##############
        <action-mappings>
                <action    path="/project/manager"
                        forward="/WEB-INF/jsp/project/manager.jsp">
                </action>
        </action-mappings>

Any help is a blessing.
Laurent.


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

Reply via email to