Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript variable in jsp string

Status
Not open for further replies.
Dec 14, 2000
4
US
I have a "var". How can i get its value in the form of a string in JSP ?

e.g.

<script>
var x = 'something';
</script>

<% String y = &quot;???&quot; %>

I want the value of x in string y.

Thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top