I submit the form and execute a method in a servlet.
I want to inform the user if the execution worked.
I'm returning false from the method if it did not executed. Else if he was able to do the execution, i want to inform that he did it and close the window.
How can i do it in the js file?
Question is easy in fact.
I have a return value. I want it to be executed in the js file. It is boolean either false or true.
Can anybody help?