Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Struts 2 Action Mapping - Redirect

Brian Thompson

2007-02-06

Replies:

Thanks for the idea! Sadly, that just makes it worse. When I switch to
type="redirect-action", I don't even get forwarded to the next action. I
get

Struts Problem Report

Struts has detected an unhandled exception:
*Messages*:
*File*: org/apache/struts2/dispatcher/ServletRedirectResult.java *Line
number*: 126
and a NullPointerException stack trace.


Has anyone run into either of these problems before?

-Brian



On 2/5/07, Nate Drake <ndrake@(protected):
>
> Try using the "redirect-action" result type.
>
> http://struts.apache.org/2.x/docs/redirect-action-result.html
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.