My question evolves java and javascript.
Some point of my program i need to:
1) @Javascript page (.js) i need to get the result of a query
- Only on this page i can get an set of values and i need to pass to that query in the java file
2) @Java after receive the value i need to pass the result to the same .js
3) the jsp page only call the function/page js
- I can't change anything on jsp so that's my BIG problem
Resume: I have to pass a value from js (the only source to get this value) into a query in Java file, and then the same js receive the result of that query. I can't change jsp or make another jsp.
I know is difficult but anyone can help me?