How many sessions can be managed by an Java Application in Struts 2?

后端 未结 3 1800
你的背包
你的背包 2021-01-26 09:31

I am working on Transaction Management application, and I am using Struts2. I have used internally a session for setting and getting values like

ActionContext.g         


        
3条回答
  •  执笔经年
    2021-01-26 09:47

    Limit is the size of your computers physical memory.you dont store dynamic values in session because someone can modify them in the meanwhile , so store only those values in session which represent any user specific data or static values (i.e. which are not going to be changed while session exists).

    Note : static here is not static keyword .

提交回复
热议问题