This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I do have a question regarding on not going to an action if I already invoked an action in my page. My problem is, when I click (first)<s:a> tag to my page that redirects to an action and click another (second)<s:a> that calls different action while the first action is not yet finished processing until forwarding to success, I'm having an error that the first action did was refresh some variables.
Is it possible to halt the my second action until the first action finished until returning to the success page?
I can think of a number of ways to do this.
1) You can certainly wait in the second action until the first action completes, but this would be a problem if the user clicks the second anchor tag again.
2) You can check in the second action to see if the first action is still running and just return without forwarding.
3) Disable the second anchor so they cannot do the action until the first action is completed.
It seems to me that option 3 would be the best solution.