struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From struts lover <strutslo...@yahoo.com>
Subject Re: prevent reset of bean after submit
Date Sat, 25 Dec 2004 16:14:41 GMT
If you have your reset method empty, I dont think it
will reset your form.

--- sachin <sachin.hegde@paradyne.co.in> 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:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message