I know how to send data from the client java class (the entrypoint) in the GWT project but how do i send JSON object from handwritten javascript to GWT server side
1 Answer
If you know how to send data from the client java class (the entrypoint) in the GWT project then a better way is to use GWT JSNI
You can use GWT JSNI to call Java method from JavaScript and vice-verse.
You have to just export you Java method to JavaScript. Now in Java you have full control to do anything.
Find a sample code on Calling GWT Java function from JavaScript
1 Comment
Braj
Is your issue resolved using JSNI? I hope now you have learned it that how to use JSNI export feature in GWT?