You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steve Stair <st...@rrc.state.tx.us> on 2003/03/03 19:30:00 UTC

ForwardAction with Tiles in 1.1b2

Since I could not get a ForwardAction to work with Tiles,
I created an entry action that did nothing but forward to "success".

    <action path="/setUpCreateUserAction"
            type="us.tx.state.rrc.app.SetUpCreateUserAction">
      <forward name="success" path=".app.CreateUser" />
    </action>

    <action path="/createUserAction"
            name="CreateUserActionForm"
            type="us.tx.state.rrc.app.CreateUserAction"
            validate="true"
            input=".app.CreateUser"
            scope="request">
      <forward name="success" path="/display.jsp" />
      <forward name="cancel" path="/index.jsp" />
      <forward name="failure" path=".app.CreateUser" />
    </action>


While this worked, the question of how can I forward to a tile?
The following is what I had, and it doesn't work

    <action path="/createUser"
            type="org.apache.struts.actions.ForwardAction"
            parameter=".app.CreateUser" />

I get this error message

    Cannot create request dispatcher for path .app.CreateUser


--
Steve Stair


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