• Post Reply Bookmark Topic Watch Topic
  • New Topic

is it possible to get a javascript variable's value into JSP variable

 
Raja seemakurthi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, i need to check that whether i can use a javascript variable's value into my JSP block,so that i can use it.

can anybody help me!
thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

This is fundamentally impossible, since javaScript is executed on the client, while JSP pages are executed on the server. This article might make things clearer.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!