passing javascript variables to JSP

E

El Durango

I need to pass a javascript to JSP code but I cannot figure it out.
any help would be appreciated.
 
K

kaeli

I need to pass a javascript to JSP code but I cannot figure it out.
any help would be appreciated.

JSP runs on the server before the client has received a response.
Javascript runs on the client after the server has terminated the response to
the client.

You'll need to submit a client request to the server to do this, either
through a form (iframe, frame, current window, whatever), a URI/querystring,
applet, ActiveX, COM, or a dynamic script (not all of those are cross-
browser).

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top