You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Lee <ml...@hotmail.com> on 2002/12/04 20:27:16 UTC

Request losing data after container security check

I have a screen a.jsp that calls a.do which then forwards to b.jsp
I have a form called AForm.java. I have a field called email in AForm.java.
In a.jsp a user can set email, call a.do and then forward to b.jsp which does a <bean:write name="aForm" property="email"/>. This works just fine and outputs the email.
Problem is, if the session times out (15 mins) then the user is required to log back in. If the data is entered on a.jsp and the session times out and the user clicks submit, then when it gets to b.jsp it doesn't have any data? In the struts config a.do is of scope="request". I would think that a request would keep that data unlike scope="session".
I want to keep the data upon submit, even if the container wants to validate the user.
thanks,
Mike