This discussion is archived
2 Replies Latest reply: Nov 2, 2012 4:43 AM by gimbal2 RSS

access a variale in all jsp files

hassane.cabir Newbie
Currently Being Moderated
Hi,

I'm a newbie in JSP and I'm stuck in a question.

I have a matrix int[][] and I want it to be accessible to all jsp files.

The code is:

int[][] matrix = methodThatGeneratesTheMatrix;

How can I access/use this matrix in all jsp files?

Any help I really appreciate.

thanks,

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points