how to pass javascript variable value to jsp variable???

ex:

<script>
var name="balaji";
</script>

<%

String name1 = name (i need to store java script name value here.)

%>

Hi,
You cant do that without Ajax.

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.