In case of validation error, It gets forward to forward "failure" and xsl
renders errors saved into request.
but if set the redirect=true for forward failure then it forwards to given
url but erase all attached requests
it seems it issue as new request, 

is there any way I can redirect to specified url and also get the old
attached request stuff.

following is configuration I'm using.

  <action path="/logon" 
                        scope="request"

                        name="logonForm" 
                        validate="true" 
                        type="mapper.admin.action.LogonAction" 
                        input="failure" >
                <forward name="success" path="logon.dox" redirect="true" />

            <forward name="failure" path="dspLogon.do" redirect="false" />

    </action>

<controller>
<!--                    Set to "true" if you want the "input" attribute of
                    <action> elements to be the name of a local or global
                     ActionForward, which will then be used to calculate the
                     ultimate URL. Set to "false" (the default) to treat the
                     "input" parameter of <action> elements as a
                     module-relative path to the resource
                     to be used as the input form. Since Struts 1.1.
-->
  
        <set-property property="inputForward" value="true" />
  </controller>

Thanks,
Shahzaib

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

Reply via email to