how does tomcat like web container handle struts 2 variables ?
- by mobby1982
i am a newbie . i have a question regarding struts 2 framework and tomcat . i know that each request has it own thread , but my question is are the global variables defined in struts action shared amongst requests.
for ex: if i have a global variable named say
int pageNo; and i am using in say method called paginationAll()
can i use the same variable (pageNo) for another method called say paginatonMaterialAll() in the same action or does each thread has its own set of variables even though globally defined?