Re: how to maintain state of jsp

2006-07-06 Thread Medicherla Lakshmi
Thank you for the information. I could solve it. Paul Benedict <[EMAIL PROTECTED]> wrote: It doesn't matter what kind of form you use. Just turn automatic validation off. That's the problem. You will no hook to reset any form values if Struts does everything for you. Also, if you don't have

Re: how to maintain state of jsp

2006-07-06 Thread Paul Benedict
It doesn't matter what kind of form you use. Just turn automatic validation off. That's the problem. You will no hook to reset any form values if Struts does everything for you. Also, if you don't have a form, then you can't do this at all. You need something to actually modify. Medicherla Laks

Re: how to maintain state of jsp

2006-07-05 Thread Medicherla Lakshmi
Yeah, thatz ok, but am using a dynaactionform for this and there is no seperate form. Moreover, am retrieving the values using request.getParameter("sss"). whatever the parameter may be since i have select boxes also in my jsp. Paul Benedict <[EMAIL PROTECTED]> wrote: Do not use automatic v

Re: how to maintain state of jsp

2006-07-05 Thread Paul Benedict
Do not use automatic validation. Set validate="false" and call form.validate() in your execute method. Then you should determine if you need to invoke your database again and reset the form with whatever fields you want. -- Paul Medicherla Lakshmi <[EMAIL PROTECTED]> wrote: Hi all, I have

how to maintain state of jsp

2006-07-05 Thread Medicherla Lakshmi
Hi all, I have a problem of maintaining the state of the jsp which is entered with some values. In my jsp, i have some text boxes and select boxes. I enter all the values and submit it, but if the name of any of the text boxes exist in the database already, it fires an alert and refreshe