Add an AJAX action between the call to Struts action?

Discussion in 'Digital Media' started by Iamverybroken, May 2, 2008.

  1. I have a lot of pages that call Struts action beans when user clicks submit button. I would like to trigger an AJAX event everytime the submit buttons are clicked and before Struts action is called. I know I can add specific javascript code to each of those submit buttons, but is there a way to do it for all of them, something like a listener for Structs action calls?

    Thank you
Loading...

Share This Page