if ur using <html:submit ...... onClick='formSubmit()'>
and in js ur giving
function formSubmit(){
                document.populationSetForm.addNewR.value = '';
                form.submit(); // this is the problem                   
}

Instead of form.submit() give return true; // ur problem will be solved




Manish(Java) wrote:
> 
> HI, Charbel
> 
> In your problem, please make sure that your deployed application context
> is 
> loaded only once. Because here,the problem might be related with it.
> 
> Try it first and see what happens.
> 
> Manish
> ----- Original Message ----- 
> From: "Charbel Abdul-Massih" <cabdulmas...@desktone.com>
> To: <user@struts.apache.org>
> Sent: Tuesday, February 12, 2008 2:53 AM
> Subject: Every action is getting called twice
> 
> 
> What am I doing wrong?  Every request to an action goes into the actions' 
> execute method twice...
> 
> I am sure that I am returning SUCCESS from the action, and is mapped to  a 
> valid JSP.
> 
> Thanks,
> Charbel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Every-action-is-getting-called-twice-tp15420991p22288419.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to