This content has been marked as final. Show 2 replies
Keep your variable in Context object of JSP and if it is user specific, keep it in session object.
You might want to read into the different available scopes in a Servlet/JSP environment. The session scope or application scope is probably what you want to use to store your matrix.