java - Tomcat caters to multiple user with same memory - JSP -
i have jsp web application, when try deploy tomcat server, , try run application different machines, dont new pages every user. my application takes input html input , keep in memory press of button, ao push values in memory , keeps untill reset pressed. problem comes when goto machine , run application, same modified page previous user. i have used session management keep username in session. if application not creating new session every new user request. eg: main.jsp has input fields , when click 'add' values html input stored in memory objects, , showed in html inputs till memory not cleared. now machine, access application , go main.jsp, there prefilled html input boxes. why not getting new page everytime go different machine. tomcat server serves users same memory space? sample code main.jsp <%@ page import="test.databaseaccessconnectionmanager" %> <%@ page import="test.functionkeywordmanager" %> <%@ page impo...