It's possible that you have your bean in request scope.  If so, a new
bean is being used for each request.  Try putting your bean in session
scope.

Hubert

On Tue, 21 Dec 2004 12:49:55 +0530, sachin <[EMAIL PROTECTED]> wrote:
> hi all ,
> 
> On submit of a form , struts resets the bean before populating the form .
> For that perticular action can i stop the resetting of bean ?
> 
> in my application i need to pupulate one bean from two forms .
> It has following structure :-
> JSP pages - First.jsp , Second.jsp
> Actions   - FirstAction.java , SecondAction.java
> which refer to same CommonBean.
> 
> the commonBean is first populated from First.jsp
> then it is forwarded to Second.jsp to populate the remaining fields ..
> But here the commonBean gets resetted ...
> I tried to override reset action in CommonBean with a blank method .. but it
> not doing ..
> 
> any help is appreciated
> Thanks in advance
> 
> Regards,
> Sachin Hegde
> Software Developer
> Paradyne Infotech Limited
> Mumbai
> 022-38546711
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to