• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session datas using JSTL in JS

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like to retrieve session datas (I mean data stored in session using setAttribute) using pagecontext in javascript.

How to do it.. Please assist me
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript executes on the client, so it has no access to server-side constructs. You'll need to create JavaScript markup in your response that represents the data you want to use on the client,
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any samples please.. Am new to this..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic