Hello,

Because RedirectingActionForward does HttpServletResponse.sendRedirect(),
which sets HTTP Location header to response. You probably save your beans
to request scope and because Location header can be the only header in
response (/ http spec) the original request is deleted.

Forget reasonable urls or use session scope for beans.

Cheers,
Kare

On Thu, 22 Mar 2001, Stefan Winterstein wrote:

> 
> In the example application, I'm setting the 'forward' property for the
> ActionServlet to 'org.apache.struts.action.RedirectingActionForward' as
> described in the user guide (that's because I like to see more reasonable URLs
> in the browser).
> 
> When I do this, however, the application ceases to work. For example, when I
> try to "register" at the start page, I get
> 
> > JspException: No bean found under attribute key registrationForm
> 
> What's the catch with RedirectingActionForward?
> 
> -- 
> 
>  -Stefan
> 
>  new to Struts, so pardon my ignorance... :)
> 

-- 
Kare Nuorteva
http://www.kare.uklinux.net/

Reply via email to