Antonio, 
Thank you for your reply.

> And you forgoto the "processorClass" attribute in <controller> tag in 
> struts-config.xml:
>
> <controller pagePattern="$M$P" inputForward="true" 
>  processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
I've update my controller element in my struts-config to appear as above.

> I think that the URL is wrong :-)
> If you configured your webapp in as the ROOT webapp, then you can access 
> that action at:
> 
> http://localhost/flc.do

This application is not the root application, it is the "flc" application,
located at the path "/flc" (under the webapps folder). However, from my
struts-config.xml (see below) file, I have a mapping for the path /flc to my
tile definition "home.page". Will this not work?

Thanks,
Darren

<struts-config>
  <display-name><![CDATA[
     Web Application
  ]]>
  </display-name>
  <description><![CDATA[
     Handles all functionality for the website.
  ]]>
  </description>
  <!-- ========== Action Mapping Definitions ==============================
-->
  <action-mappings>
    <action
      path="/flc"
      type="org.apache.struts.actions.ForwardAction"
      parameter="home.page"
    />
  </action-mappings>
  <!-- ========== Controller Configuration ================================
-->
  <controller pagePattern="$M$P" inputForward="true" 
              processorClass="org.apache.struts.tiles.TilesRequestProcessor"
/>

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




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

Reply via email to