Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing javascript variable in jsp

 
balu gates
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to access a variable defined in a javascript using jsp
Ex:
<script>
function func(Var)
{
var someVar=Var;
<%
session.setAttribute("SomeString", Var);
%>
}
Thanx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic