Hi,

I am wandering problem in I want to access javascript variable in jsp page.

So anybody help me how to use that variable in jsp.

Thanks in advance.

In order to "use" a var from the client side on the server side you would need to make an Ajax call back to the server and send that var to the server. The client doesn't know what the server is doing and the code on the server side has generally completed by the time the client is served the web page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.