Re: code inserting data into database twice

2009-08-31 Thread Dave Newton
Please ask this question on the struts-user mailing list. The struts-dev list is for the development of Struts itself. http://struts.apache.org/mail.html Thanks, Dave Java Struts wrote: Hi folks, I wrote the following code to insert values into database. But it's crazy, this is inserting th

code inserting data into database twice

2009-08-31 Thread Java Struts
Hi folks, > > I wrote the following code to insert values into database. But it's crazy, > this is inserting the values twice. here are the code below. > > if(activity.equalsIgnoreCase("declineParticipation")){ > > if(isTokenValid(request)){ > // Validate the su