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

passing a javascript variable value to a JSP variable

 
shivang sarawagi
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way of copying a javascript variable value into a JSP variable ???
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course not. The JSP executes on the server long before the Page is sent to the browser where the JavaScript executes.

Please read this article to understand what JSP is all about.
 
jhon masco
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shivang sarawagi wrote:Is there any way of copying a javascript variable value into a JSP variable ???


Can you explain a little What do you want to do??
May be there is other way for solve you problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic