File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes session in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "session in struts2" Watch "session in struts2" New topic

session in struts2

deep rai
Ranch Hand

Joined: Oct 04, 2007
Posts: 56
i came across a login example in apache website can please explain me what this means


thank you
Joe Ess

Joined: Oct 29, 2001
Posts: 9126

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'.

[How To Ask Questions On JavaRanch]
deep rai
Ranch Hand

Joined: Oct 04, 2007
Posts: 56
thanks joe
It is sorta covered in the JavaRanch Style Guide.
subject: session in struts2
It's not a secret anymore!