on 11-10-2005 12:32 PM
Hi everyone,
How can I pass a Java Script variable to a Java code ?
Thanks a lot.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
David,
You whant to pass JS variable
from:
1. Script running on client (in HTML page)
2. Script running on server (via some JS interpreter in Java, like Rhino or FESI)
to:
1. Applet on page
2. Server-side code (servlet)
Please clarify
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Do you want to pass it to a java applet? With a servlet I would say it makes not much sence, because java script is exceuted at the client side in the Browser while your servlet is running on the server. In this case you should transfer your data with the http response.
regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.