Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts+jsp+netbeans

 
meruva surendra
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know how to get the values from the session?how to use and print that?
 
Greg Charles
Sheriff
Posts: 2985
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Short answer: expression language (EL). You can read about it in the Java EE Tutorial. There's a page of examples here. The example for getting a value from the session scope is ${sessionScope.cart.numberOfItems}, where ${sessionScope.} is built-in syntax, and cart.numberOfItems is specific to the example application.
 
meruva surendra
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you charles
 
Greg Charles
Sheriff
Posts: 2985
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's Greg actually, but you're very welcome!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic