> hi,
> I have an updation form.On click of
[quoted text clipped - 9 lines]
> thanks,
> vysh
Are you using validator framework? If not I would suggest you use that.
Otherwise if you are writing your own code for error checking in action
classes, create a form bean and copy all the user input. Set this bean
in request scope, so that when you forward back to the jsp page, it will
be available there.
vysh - 04 May 2007 06:31 GMT
> > hi,
> > I have an updation form.On click of
[quoted text clipped - 15 lines]
> in request scope, so that when you forward back to the jsp page, it will
> be available there.
Thanks a lot for your reply,sanjay.
Let me not think of using the validator framework now.So comes the
second option.
I am validating it in the action class.Let the formbean, which gets
populated be x.
As u told,I will create another bean 'y' with the same contents as
x.But how to copy the contents of x to y.
Do I have to set each setter or is there any way for bulk
setting?.Also l have to clear the bean x as I am using the same
Actionform for another jsp page.
waiting for your reply,
thanks,
vysh.