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]> 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... > > 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 simple jdbc call everything is working fine i am even getting > back the success response in my add form. > > i am not able to understand what u mean by "not have your action defined as > being "prototype" > scope" > > aum > > > > > On 4/19/08, Dave Newton <[EMAIL PROTECTED]> wrote: > > > > 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" > > scope. Since actions are instantiated on each request (normally) it's not > > typical to see this behavior without some effort on your part or > > mis-configuration. > > > > Dave > > > > --- aum strut <[EMAIL PROTECTED]> wrote: > > > > > 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 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 values which has been added > > > > > > > > > > i can clear the fields values using java script,but i want to know > > is > > > > it > > > > > possible using Struts2,is theer any was that when ever data is > > > submitted > > > > > successfully in the database form fields values should get cleared. > > > > > > > > > > > > > > > any help in this regard will be much appriciated. > > > > > > > > > > > > > > > thanks in advance > > > > > --aum > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]