Depends on where you added the addActionError() call, at the very
least--an action error indicates a validation problem, so it may be
trying to go to the "input" result.

Not enough information to help.

Dave

On Wed, Apr 13, 2011 at 3:19 PM, Emi Lu <em...@encs.concordia.ca> wrote:
> Hello,
>
> addActionError() caused "Page not found (404)" Error.
>
> (1) Action1.java
>    browsing all records using displaytag
>
> (2) Action2.java
>    if just say:
>    return "view"; go to Action1 successfully
>
>    if:
>    addActionError(...); //then
>    return "view";
>    Got an "Page not found (404)" exception.
>
> Does anyone know what cause the problem?
>
> Thanks a lot!
> Emi
>
> --
> <result name="view" type="redirectAction">
>   <param name="actionName">ProcessAction1</param>
>   <param name="namespace">/Action</param>
> </result>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

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

Reply via email to