Hi all,

 

I have a quick question:

 

My struts-config.xml has a forward line such as:

 

<forward name="show" path="/application.do"/>

 

In my controller if I set an attribute such as:

 

Request.setAttribute("test", "test string");

Return (mapping.findForward("show"));

 

This works fine and I am able to use test in the view.

 

But if I change the forward to "redirect=true" this functionality
disappears and I am no longer able to use the attributes set in the
controller.

 

Does anyone know why I can't do this with a redirect, and how I may be
able to still use a redirect and get the attributes in the view?

 

Thank you very much!

 

Felix

Reply via email to