I have an action in struts 2
where it opens an FileInputStream
, reads an image and shows it in a jsp.
The question is that when struts is finished with getting the image, will it automatically take care of the FileInputStream
and close()
it or the stream is left open
?