File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Action Class called twice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Class called twice" Watch "Action Class called twice" New topic
Author

Action Class called twice

Lavanya Mothilal
Ranch Hand

Joined: Dec 27, 2007
Posts: 30
Hi,

I am using an image with an <a> tag (like the one below) to submit a form with the help of javascript.



After the form submits using the "deletedetails" method, some times the action is called twice which leads to some undesired results (like deleting the same record twice from a database). As I mentioned, this behaviour is not consistent and at times the action is called only once as desired.

Anyone know the reason behind this ?


Thanks,<br />Lavanya
Balagopal Kannampallil
Ranch Hand

Joined: Oct 18, 2004
Posts: 136

Duplicate post.
Please don't make multiple posts with the same query.


SCJP 5.0 and now fighting with ExtJS
Lavanya Mothilal
Ranch Hand

Joined: Dec 27, 2007
Posts: 30
ya sorry it was done by mistake.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action Class called twice