BhanuSVS
asked on
How to call a java mathod from javascript?
Dear Experts,
Please tell me how to call a java method from javascript function.(both static and non static methods of java)
Please tell me how to call a java method from javascript function.(both static and non static methods of java)
Please give us more details. Maybe there is a better solution.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thats not possible because java script is working in client side(browser) and java is working in server side .
some time it will work because both will in same place (local host) .. if you deploy in server then it wont work ..
better use ajax call or form submit .. or do the validation in java script itself
better use ajax call or form submit .. or do the validation in java script itself
ASKER
thanks..
http://directwebremoting.org/dwr/index.html
I haven't used it in a while.