How many sessions can be managed by an Java Application in Struts 2?
问题 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.getContext().getSession().put("string", string); Is there any limit or any disadvantage of using a session like this in the application? 回答1: 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