title: Struts Config with Tiles
body: <p>My struts-config.xml has a few forward actions that point to tiles definitions.  Everything seems to be going alright until the forward gets resolved to the tiles definition name instead of the jsp the definition points to.</p>
  
  <p>From struts-config.xml</p>
  
  <pre><code>&lt;action-mappings&gt;
      &lt;action name="userTokenForm" path="/createtoken" type="com.bcbst.providertokenweb.actions.CreatetokenAction" 
              scope="request" parameter="action" input="registration.provider.createtoken" validate="true"&gt;
  
         &lt;forward name="createtokens" path="registration.provider.createtoken"&gt;&lt;/forward&gt;
         &lt;forward name="success" path="registration.provider.success" redirect="false"&gt;&lt;/forward&gt;
      &lt;/action&gt;
  &lt;/action-mappings&gt;
  </code></pre>
  
  <p>From tiles-defs.xml</p>
  
  <pre><code>&lt;definition name="registration.provider.main" page="/theme/bcbst/template.jsp"&gt;
    &lt;put name="body" value="/default.jsp"/&gt;
  &lt;/definition&gt;
  
  &lt;definition name="registration.provider.createtoken" page="/theme/bcbst/template.jsp"&gt;
    &lt;put name="body" value="/createtoken.jsp"/&gt;
  &lt;/definition&gt;
  
  &lt;definition name="registration.provider.success" page="/theme/bcbst/template.jsp"&gt;
    &lt;put name="body" value="/success.jsp"/&gt;
  &lt;/definition&gt;
  </code></pre>
  
  <p>When the createtokens forward gets called, a 404 is thrown saying /registration.provider.createtoken doesn’t exist.</p>