• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session in struts2

 
deep rai
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i came across a login example in apache website can please explain me what this means

#session.login


thank you
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts uses OGNL to identify resources in the value stack.
The '#' character indicates a non-root entity (the action is usually the root) 'session' indicates the user session and 'login' indicates a session parameter named 'login'.
 
deep rai
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks joe
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic