In the above code image tag is taking src="GetImage"
GetImage is a servlet which is returning an image after compressing the image in out stream. I am setting one variable at application level to read that variable in the jsp.
Code snipet is given
When I run this code first time, value of message in jsp is "null". Why It is so? Since I am setting the message at application level, I think even for this first time, I should get the message in my jsp.
Can somebody suggest some reason for this behavour?