Hi Srini,
When you redirect you lose all state information. If you use a
ForwardResolution instead it should work as you expect.

Aaron

Srini wrote:
> I have an actionBean in whose handler I can verify an object with contents
> prior to invoking RedirectResolution to a JSP page where I try to display it.
> But JSP which uses stripes:text tag to display it shows blank. I am not sure
> where and what I am missing.
>
> ActionBean:
> ----------
> public class MakePaymentActionBean extends SRCBaseActionBean{ 
>       private my.learn.Student student;       
>       private static final String VIEW = "/foo/bar.jsp";
>       
>       
>       public Resolution step1() {
>          student= getContext().getStudent();
>            //Here 'student' is populated with values I want! I can verify!
>          return new RedirectResolution (VIEW);
>       }
>
>         public my.learn.Student getStudent() {
>          return student;
>       }
> }
> ----------------------
> Inside bar.jsp is as follows: AND STUDENT FIRSTNAME is NOT displayed!
> ****************************
> <%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"; 
> %>
>
>  Student is:
>  <stripes:text name="student.firstName" maxlength="50" size="30" 
> style="formfield"/>
> ==============================
>  Thanks for any pointers
>  -Srini
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-development mailing list
> Stripes-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>   


------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
Stripes-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to