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 Rhinorhino 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.
Joined
Dec 14, 2000
Messages
4
Location
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