Re: Regarding Service layer getting called twice

2008-04-03 Thread Prajapati Manish Narandas
Thanx Laurie, Actually issue was in button 's hyperlink .we were calling same function on both href and onclick event.Actually yesterday we tried to find out weather action is getting called twice or not but might be we some were failed to notice it but today morning after your mail i again trie

Re: Regarding Service layer getting called twice

2008-04-02 Thread Laurie Harper
Struts invokes your actions, not your service layer, so the first step is to determine where the calls to the service layer are coming from. Either your action is doing that or your action is being called more than once during one 'logical request' -- which would probably mean the browser was i

Regarding Service layer getting called twice

2008-04-02 Thread Prajapati Manish Narandas
Hi all, i am using spring object factory action itself,service layer and Dao layer. Here, service layer method is getting called twice and due to that dao layer method is also called twice. Can any body tell me what can be the reason of it? This not happening service layer of all action. Like i hav