servlet problem

hi all,

i have 2 jsp pages and 1 servlet.

my situation is like this:

jsp1 pass an array tp jsp2.

jsp2 take the array and do like this:

1. present the array on the screen

2. build session object with the array.

3. call to a servlet to preduce graph.

in jsp1 i have links that each link pass a different array to jsp2.

in jsp 2 i have <img src="GraphHandle" /> line.

The name of the servlet is "GraphHandle".

my problem is: when i click a link in jsp1 in the first time i'm getting the image in jsp2 but when i click on a different link i'm getting the same image.

i checked the servlet and and dont know why, the servlet had called by jsp2 just in the first click.

can someone tell me why?

[784 byte] By [shaharwra] at [2007-9-23]