How many scopes are there in Struts 2 applications? And is it good if we use session and request scope there? How action scope work for session and request both?
相关问题
- Java/Struts2: How to get action name from current
- JavaScript variable scope question: to var, or not
- Scope on each last elements of a has_many relation
- NPE in StrutsTestCase after enabling Tiles
- In Tiles,Struts2 java.lang.NoClassDefFoundError: o
相关文章
- Struts2 file upload max size
- Rails scope for values only between two dates
- How to scope closure's variables in CF10?
- Cannot access self:: when no class scope is active
- Function hiding and using-declaration in C++
- Is there a way to call a private Class method from
- Nodejs accessing nested variable in global scope
- JS loop variable scope
Struts 2 is running a container, it has scopes for beans. More about bean scopes is in this question. All other scopes are servlet scopes. Struts uses indirect access to these scopes using it's own structures. For example a
set
tag uses these scopes: