Re: Clearing form value

2008-04-21 Thread Nils-Helge Garli Hegvik
By redirect I mean using the redirect action result type. Nils-H On Mon, Apr 21, 2008 at 6:40 AM, aum strut [EMAIL PROTECTED] wrote: Nils can u just describe a bit wat u mean here by redirect its quite possible that i am taking redirect in some other way.. aum On 4/21/08, Nils-Helge

Re: Clearing form value

2008-04-21 Thread aum strut
ok i got that thks for helping me out On 4/21/08, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: By redirect I mean using the redirect action result type. Nils-H On Mon, Apr 21, 2008 at 6:40 AM, aum strut [EMAIL PROTECTED] wrote: Nils can u just describe a bit wat u mean here by

Re: Clearing form value

2008-04-20 Thread Nils-Helge Garli Hegvik
Considering you're processing the form and displaying the form using the same action within the same request, I would say this is expected behavior. I would consider doing a redirect after the post instead. Nils-H On Sat, Apr 19, 2008 at 12:06 PM, aum strut [EMAIL PROTECTED] wrote: i am not

Re: Clearing form value

2008-04-20 Thread aum strut
Nils though i have achieved this using javascript my problem was that i can not redirect as i have to enter multipal records at a given time On 4/20/08, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: Considering you're processing the form and displaying the form using the same action

Re: Clearing form value

2008-04-20 Thread Nils-Helge Garli Hegvik
I don't see why that should prevent you from doing a redirect? Nils-H On Mon, Apr 21, 2008 at 5:44 AM, aum strut [EMAIL PROTECTED] wrote: Nils though i have achieved this using javascript my problem was that i can not redirect as i have to enter multipal records at a given time On

Re: Clearing form value

2008-04-20 Thread aum strut
Nils can u just describe a bit wat u mean here by redirect its quite possible that i am taking redirect in some other way.. aum On 4/21/08, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: I don't see why that should prevent you from doing a redirect? Nils-H On Mon, Apr 21, 2008 at 5:44

Re: Clearing form value

2008-04-19 Thread Dustin S.
If your using Spring as the objectFactory then you would need to define your action bean as prototype instead of singleton in your applicationContext.xml for example: bean id=personAction scope=prototype class=some.class.PersonAction/ On Fri, Apr 18, 2008 at 10:59 PM, aum strut [EMAIL PROTECTED]

Re: Clearing form value

2008-04-19 Thread Nils-Helge Garli Hegvik
It would be a lot easier helping if you show us some configuration files and code Nils-H On Sat, Apr 19, 2008 at 6:59 AM, aum strut [EMAIL PROTECTED] wrote: yes you are right not providing complete information in one mail is really not good i wil take this in to account in future...

Re: Clearing form value

2008-04-19 Thread aum strut
i am not using Spring at all.here is the code for my configuration and action class my *Quotation.jsp page* by which i am adding data %@ taglib prefix=s uri=/struts-tags % html head titleQuotation Form/title s:head theme=ajax/ /head body centerfont face=verdana size=2

Clearing form value

2008-04-18 Thread aum strut
Hi all, a little point which i want to know. i have a form by which we can add billing detais in the database form is working fine, it is adding the value to the database as expected, the problem whcih i am facing is even after successfully submitting the values, it is not clearing the form

Re: Clearing form value

2008-04-18 Thread Dave Newton
Which version of Struts? --- aum strut [EMAIL PROTECTED] wrote: Hi all, a little point which i want to know. i have a form by which we can add billing detais in the database form is working fine, it is adding the value to the database as expected, the problem whcih i am facing is even

Re: Clearing form value

2008-04-18 Thread aum strut
currently i am using struts-2.0.11.1 On 4/19/08, Dave Newton [EMAIL PROTECTED] wrote: Which version of Struts? --- aum strut [EMAIL PROTECTED] wrote: Hi all, a little point which i want to know. i have a form by which we can add billing detais in the database form is working

Re: Clearing form value

2008-04-18 Thread Dave Newton
Are you using Spring? Would it be possible for you to provide more useful information in your initial emails rather than generating a stream of a half-dozen or more? It's rather frustrating; we've gone through this before. One common error is to not have your action defined as being prototype

Re: Clearing form value

2008-04-18 Thread aum strut
yes you are right not providing complete information in one mail is really not good i wil take this in to account in future... well i am not using spring in my application i have a simple form which is sending the input values to my action where i am adding these in to the data base using