0
How can i call a variable from one jsp file to another?
I want to call a variable which stores random number to another jsp file. Problem is when i include the source file, to the jsp file inwhich i want the varible to call, It generates new number. but i want the previous generated number.
1 Odpowiedź
+ 1
Option 1: Use session variables. Those will remain in memory on the server for the life of the session.
Option 2: Database
Option 3: Write to file and include the file in the subsequent jsp files.
I have used all 3 in php.