Hi All,

I am trying to define a redirecting forward in the struts-config.xml. But I
need some parameters that are on the form to redirect the action. Is there a
way to add parameters to the redirecting request?

An example:

        <action  path="/postTopic"
                 name="createNewTopicClosedForumForm"
                 type="com.example.CreateNewTopicAction"
                scope="request"
                input="/postTopic.jsp"
                validate="true">
            <forward  name="success"  path="/viewForum.jsp"
redirect="true"/>
        </action>

I want the new redirected request to be "/viewForum.jsp?forum=<dynamic
value>".
The forum value is on the available on the form and initialy posted to
postTopic.jsp

Does anyone know a solution?

Greetings Ralph





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

Reply via email to