• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing local environment variable  RSS feed

 
Roy Wira
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I'm trying to access the local variable using:

instead of showing local value, it shows the server side value, how can I resolve this issue ?
Thanks in advanced,
roy
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't. All Java in a JSP or servlet runs on the server and has no access to the client environment.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!